Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts 1.x : stuck with html:select  RSS feed

Harsha Nadiger
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!