This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

html:select with two List  RSS feed

 
Ajay Tickle
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!