my dog learned polymorphism*
The moose likes Struts and the fly likes Dropdown Selected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dropdown Selected" Watch "Dropdown Selected" New topic
Author

Dropdown Selected

Jinal Prakas Shah
Ranch Hand

Joined: Jun 20, 2012
Posts: 39
I have a very simple question. I'm writing this iteration code. Here is the code

I have a HashSet variable named myStates which contains the stateid which is the same Id above. Now if that id occurs in the HashSet what I want is to show it selected. Can you tell me How to do this?

Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dropdown Selected
 
Similar Threads
Struts 2 Aggregated Lists and Select Boxes
spaces while populating using s:iterator
object cascading in a template
passing hidden value to action class in struts-2
select tag doubt