File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes passing value of select box to jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "passing value of select box to jsp" Watch "passing value of select box to jsp" New topic
Author

passing value of select box to jsp

Sachin Kadian
Ranch Hand

Joined: Jan 24, 2012
Posts: 33
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

Joined: Jan 10, 2002
Posts: 60774
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: passing value of select box to jsp
 
Similar Threads
Want to call struts action on click of jsp combo box
Regarding combo-box
window.open
passing parameters from jsp to servlet
jquery and jsp and with post back faclity in registrtion page