Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1.x : stuck with html:select
 
Similar Threads
Problem submitting html:select value
new to Struts
how to obtain list object from an actionform
Problems with Indexed Properties, Hidden Values and Logic Iterate Tag
Issue in Struts Dropdown(Need Help Ranchers)