This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes how to create multiple dropdowns in struts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to create multiple dropdowns in struts?" Watch "how to create multiple dropdowns in struts?" New topic
Author

how to create multiple dropdowns in struts?

Anil dhingra
Greenhorn

Joined: Oct 01, 2009
Posts: 8
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

Joined: Sep 29, 2008
Posts: 12617

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create multiple dropdowns in struts?