Meaningless Drivel is fun!
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

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?

I agree. Here's the link:
subject: Dropdown Selected
It's not a secret anymore!