Click here to Skip to main content
16,021,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

How do I create a JSP front end with 3 cascading or chained dropdown list boxes all of which interrogate a SQL Server database table?

The first dropdown list will have a statement like "select * from column_name" and the value selected in this dropdown will be used in a second select statement which will populate the second dropdown list and the value selected in the second will be used in the select statement for the third etc.

I am completely new to JSP and web development in general. Although I have managed to create a form with the first dropdown list populated with the "select * from column_name" using jstl, but can't find any clear guidance on where to go from here. Can someone provide guidance please? I am using Eclipse Helios.

Thanks in advance.

AJF
Posted

1 solution

see you can do it using jquery also. Go through following links which will help you lot
cascading-dropdown-using-jquery.html[^]
cascading-dropdown-list-using-json/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900