This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes Passing an arrayList of dropdown list values to the Action Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Passing an arrayList of dropdown list values to the Action Class" Watch "Passing an arrayList of dropdown list values to the Action Class" New topic
Author

Passing an arrayList of dropdown list values to the Action Class

Angela Chint
Greenhorn

Joined: Jan 13, 2005
Posts: 20
Hello All,

In my Jsp I am displaying a dropdown list of countries in each row. So the array to be passed to the Action Class should contain the values selected from this list.

I am not knowing how to pass the each value of the dropdown list as value of array element, and build the array in jsp to be passed on to the Action Class.

I appreciate any help/advice.

Thanks in advance.
Angela
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing an arrayList of dropdown list values to the Action Class
 
Similar Threads
problem with Struts Logic:iterate
Mainitaining State Between Requests - Struts
Form Params not passed properly
Dynamic drop down list from an array
additional values in the dropdown