File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Struts 1.x : stuck with html:select

Harsha Nadiger

Joined: Jun 06, 2010
Posts: 6

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.


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.

I agree. Here's the link:
subject: Struts 1.x : stuck with html:select
jQuery in Action, 3rd edition