wood burning stoves 2.0*
The moose likes Servlets and the fly likes Java Servlet and Dynamic List box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Java Servlet and Dynamic List box" Watch "Java Servlet and Dynamic List box" New topic
Author

Java Servlet and Dynamic List box

srilatha sri
Greenhorn

Joined: Aug 14, 2001
Posts: 1
I have 4 list boxes. listBox 1 is populated from the database(Oracle). I select an item from it and then
listbox 2 is populated with related data matching listbox 1 item I chose (Just like the Country and Cities example ). I select an item from Listbox 2 and populate listbox 3 and listbox 4 with related data matching listbox 2 item. How do I write this in a java servlet program using HTML. After I select all the data in the different listboxes, I have to do a get and pass it to another servlet program that processes the data.
Need to use Servlet and HTML embedded in it. I went through the JSP example but now in this program I have to use 2 selects to populate the listboxes.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964
    
  19

The last time I did something like that, I put all the listboxes in a Java applet and used URLConnection to get the updated listbox data.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Consider Paul's rocket mass heater.
 
subject: Java Servlet and Dynamic List box
 
Similar Threads
Using Values in a List form one JSP to Another
help on html: options
Spin through listbox items and update selection status
JSP Page redirection
How to fix ListBox and Panel size ..