on 11-29-2010 5:07 PM
In a same page, how can i pass parameters from an applet to a servlet ? Thanks in advance
Regards,
Antonio
HI Antonio,
As long as your web page ends with the .irpt file extension, you can add name/value pair to the servlet definition, for example,
<PARAM NAME="Param.1" VALUE="">.
The name value pair can be captured from the session properties or passed in the URL.
Kind Regards,
Diana Hoppe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Diana,
In your example, the Category value comes from an URL or a session variable . In my case, I have an browse applet and a servlet definition in my .irpt file . I want to pass the getSelectedItem() from the browse applet to value pair in the servlet definition . How do I pass it ?
Best Regards,
Antonio R Rubalcaba
Hi Diana,
Yes, I have used the iFrame solution in my past proyects . Anyway, it makes the application maintenance a little bit cumbersome . If there is no another solution , I will use it again .
For sure, an applet equivalent to the HTML input field would come very handful .
Kind Regards,
Antonio R. Rubalcaba
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.