This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing texbox values from one html page to another

 
pratapsiva sivakumar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want a servlet to get values from one html page and pass the values to another html page.How is to be done?
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlets can talk with JSPs, not HTML. You can take a request parameter in the servlet and send the result to a JSP page as a request attribute. Use the <%= %> or equivalent custom tag to print the value to the user.
 
Ankit Garg
Sheriff
Posts: 9529
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The EL solution for this would be to use ${param.parameterName}...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65227
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ankit Garg wrote:The EL solution for this would be to use ${param.parameterName}...

Quoted for emphasis. At this stage, all new JSP code should completely omit any usage of Java scriptlets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic