can applet retrive value from jsp program?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mousumi_Das
Posted On:   Wednesday, October 16, 2002 03:44 AM


I have made html pages from where values will be input through form and passed to the jsp page. I want to use these values in my applet program. How can i pass values from jsp page to applet and where shall i place the applet class file.

Re: can applet retrive value from jsp program?

Posted By:   Chintan_Wala  
Posted On:   Thursday, October 17, 2002 11:04 AM

Hi Mousumi


Heres a way of getting around your situation.


1. Write a similar code in your JSP


archive="http://YourServer/YourPackage.jar"

width="640"

height="480">





">

Note the above



2. Use the getParameter("PARAM1") etc.in the applet



3. Your applet class stays where you put the servlets, and invoke it in the JSP the same way you would call the servlet.



Regards

Chintan
About | Sitemap | Contact