Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • Last Modified:

struts how to use html:select tag with collection

does any body have a sample of how to use <html:select> tag with a collection.

I want to put all the states of US in a bean and use the bean to populate the collection. I have read that its possible. I saw a few examples but nothing was complete.

First off, how do i create and populate a bean with a collection of states.

after that how do i use this bean in <html:select>

Please provide the contents of the bean

Thanks in advance.
1 Solution

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now