aspose file tools*
The moose likes JSP and the fly likes combo boxes and iterator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

combo boxes and iterator

alex pandiyan
Greenhorn

Joined: Aug 25, 2004
Posts: 10
Hi,
I have 3 combo boxes in jsp page.
If user selects 3 diff values in combo and clicks
submit button,i have to display values.
Scenario;
combo box:1 country
combo box:2 state
combo box:3 city
If user selects "state1" in 2nd combo,"all cities" in 3rd combo,
i have to display in such a way that cities in state1-1 column and cities not in state1 in another column on the same jsp.
Am having the values of combo boxes in 3 arraylists.
How to query them and display results?
Will using an iterator would be effective?
Any validation sample code would be useful.
Thanks in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Since the topic you posted in the Servlets forum has already gotten responses, please continue any discussion of this topic here.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: combo boxes and iterator