This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes html:select with two List Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:select with two List" Watch "html:select with two List" New topic
Author

html:select with two List

Ajay Tickle
Greenhorn

Joined: Mar 16, 2008
Posts: 17
HI,

I have to show list in my jsp page. I am using <html:select>

i am getting two lists from data base and it is in employee form bean: first list is for employee no and second list is for name. i want to display employee name in <option> and want to use employee no as VALUE in <option> so list would have employee no as value and name will be displayed to user.

i am not sure how to do it with two lists as i have two different lists, one list for emp no and one list for employee name. Please help me... some code example would be a help for me.

Thank you
 
 
subject: html:select with two List
 
Similar Threads
JSP + struts html:select
Help for html:select,options drop down
list box problem
JSP + struts html:select
How to transfer elements between two list boxex ?