Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<select size=3>.....javascript, jsp

Status
Not open for further replies.

yukeshean

Programmer
Aug 24, 2001
9
MY
hi all,

I want to pass all the values in a <select size=3 name=&quot;&quot;> into a jsp processing page (.jsp) thru a html form.
How should actually i do that?
Can i get all the values (a list in an array), or only one value?
Please do give me some advice or solution asap.
Thanks

yukeshean
 
Hi yukeshean,

Do you want to pass all the value of the select item or just the options selected in this one.

To pass only the value selected, just put your form in post method and after get it by a getParameter in your JSP page.

If you want to pass all the values of your select item, better is to put a String with all those data in an hidden form to get it by getParameter in your JSP file.

Hope this helps ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top