• Post Reply Bookmark Topic Watch Topic
  • New Topic

Posting from applet to JSP

 
kiran giriya
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
How do i pass all the field values from an applet to JSP and this jsp has to be shown with all values passed from applet when the submit button is clicked.
 
Sarath Mohan
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friend,
Try this
String RETURN_URL= sample.jsp?param1=value1¶m2=value2
You may need to encode the string using URLEncoder class
URL myurl= new URL(RETURN_URL);
appletContext.showDocument(myurl,"_blank");
now in jsp you can use request.getParameter();
Please correct me if i am wrong
Binu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!