This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Posting from applet to JSP  RSS feed

 
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!