Forums Register Login

combo boxes and iterator

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
Replace the word "snake" with "danger noodle" in all tiny ads.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


Reply locked
This thread has been viewed 1595 times.
Similar Threads
Using Combo Boxes in JSP & Servlet
UseBean
problem with extracting values from a combo box.....
How to handle more than two combobox
jsp dynamic combo box
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:16:49.