aspose file tools*
The moose likes Struts and the fly likes how to display database records in select option Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to display database records in select option" Watch "how to display database records in select option" New topic
Author

how to display database records in select option

Vaishali Paramane
Ranch Hand

Joined: Mar 05, 2007
Posts: 106
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


SCJP, SCJD
Preparing for SCWCD
Manuel Schenkhuizen
Greenhorn

Joined: Apr 20, 2011
Posts: 14
You can build an ActionSupport class.
The class may have a List attribute.
In the execute method,you can initialize the attribute.
 
Consider Paul's rocket mass heater.
 
subject: how to display database records in select option