Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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
 
 
subject: Passing an arrayList of dropdown list values to the Action Class