aspose 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
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