aspose file tools*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:select with two List