• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing value of select box to jsp

 
Sachin Kadian
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a select box in 1 jsp and i want to pass its value to another jsp. please tell me how i can do so. with the request.getParameter("selectboxname") i am getting null value. please help me.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65123
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a web app following best practices you would not be submitting data to a JSP, but to a servlet.

In any case, make sure that the spelling of the parameter names is consistent.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic