Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

share data between html and jsp  RSS feed

 
sammeta Phanikumar
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I want put some html field values in any jsp scopes before submitting that page. Once it is submitted then it calls a servlet there i want use that data.

Please help me.

Thanks in advance.

phani
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36417
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sammeta,
You don't have HTML put data in the JSP scope. The HTML is static after all. What you do is submit the form to a servlet and have the servlet pick it up via request.getParameter().
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!