• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to create multiple dropdowns in struts?

 
Anil dhingra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can any one suggest me a way of creating multiple dropdowns in struts whose values will be populated from different arrays and selected values will be passed to Action class in a List?I know other way of doing it like recieving values in individual variables and then saving it in Database but I want to recieve it in List. Please provide example if possible.

Thanks in advance.
Anil
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which version of Struts?

I'm not sure what the issue is, though--both Struts 1 and Struts 2 allow the creation of an arbitrary number of select boxes, and both have custom tags that accept a list of options to display.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic