• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to display database records in select option

 
Vaishali Paramane
Ranch Hand
Posts: 107
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic