File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
 
subject: Dropdown Selected
 
Similar Threads
object cascading in a template
passing hidden value to action class in struts-2
select tag doubt
spaces while populating using s:iterator
Struts 2 Aggregated Lists and Select Boxes