This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to display database records in select option

 
Vaishali Paramane
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am using jsp and struts.

I want to add database records in the select option using struts.

Can anyone give me some ideas how I can do it?

Thanks

Vaishali
 
Manuel Schenkhuizen
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can build an ActionSupport class.
The class may have a List attribute.
In the execute method,you can initialize the attribute.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic