wood burning stoves 2.0*
The moose likes JSP and the fly likes interdependent drop down list select mysql jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "interdependent drop down list select mysql jsp" Watch "interdependent drop down list select mysql jsp" New topic
Author

interdependent drop down list select mysql jsp

Devi Sree
Greenhorn

Joined: Jan 12, 2011
Posts: 2
Hai

I am new to this forum so kindly forgive me for any mistakes.I need help in my project.

I have to design a page with 4 drop down list.when i select the first option from the first drop down,the second drop down must be populated from the database.then again when i select the second option from the second drop down,the third drop down must be populated from the database and so on.The first drop down is also from the database.

I am using mysql and jsp.

can anyone send me the code for this one please.Its really urgent.kindly please help.

Thank You
Victor Hugo M Machado
Greenhorn

Joined: Jan 11, 2011
Posts: 22

you have searched for "dropdown filtering"?
Devi Sree
Greenhorn

Joined: Jan 12, 2011
Posts: 2
thanks for the reply. yes i have a searched a lot.but didn't come across anything like i wanted.
Victor Hugo M Machado
Greenhorn

Joined: Jan 11, 2011
Posts: 22

using scriplet..
http://www.coderanch.com/t/281489/JSP/java/dropdown-filter

If you use some others frameworks.. It`ll be more simple
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60780
    
  65

Wow. That's old as dirt.

Modern pages will use Ajax to achieve this, not refreshing the page every time a choice is made.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: interdependent drop down list select mysql jsp
 
Similar Threads
Editable drop down
Drop Downs
Populating second list based on selection of first list
Drop down box issue
using database values to populate drop down menus