File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts 1.x : stuck with html:select 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 "Struts 1.x : stuck with html:select" Watch "Struts 1.x : stuck with html:select" New topic
Author

Struts 1.x : stuck with html:select

Harsha Nadiger
Greenhorn

Joined: Jun 06, 2010
Posts: 6
Hi,

I'm a newbie to struts. I was trying something and stuck with html:select. Anyone please help me resolve this.
I have a dropdown, which I need to populate from a Collection (ArrayList) and capture the selection.

JSP:


Form Bean:


In the Action class, I am setting the subordinateList with some String values.

Now, I need to display these String values from the subordinateList in html:select and pick the selected values.

I really appreciate if anyone help me.

Thanks,
Harsha
 
 
subject: Struts 1.x : stuck with html:select
 
Similar Threads
new to Struts
Issue in Struts Dropdown(Need Help Ranchers)
Problems with Indexed Properties, Hidden Values and Logic Iterate Tag
Problem submitting html:select value
how to obtain list object from an actionform