Re: How to have multiple select menu on a page
Monday, July 4, 2005 07:14 AM
U can have any number of select menus on a page.
One things. Are all the select menus different???
Then wht u do is,,. While loading the page, send the request to the Action page, create hashtables for all the values that u want. Put the hashtable in session. Forward to ur Page, there get the Hashtables from the session, and write select buttons as we normally do.
If all select options are of same field, say Company..for example.. then u can give then different names by attaching some index, like Company_1, company_2 etc.. and te same u can refr in Request.getparameter();... and use in query.
I hope tis is sufficient.