theprofessorx
Programmer
Does anyone know how to use a database to dynamically populate a series of menus in a form that resides in a single JSP (no frames please)?
For example, I have 3 drop-down menus in the same form named A, B and C. Based on what the user selects in menu A, I want to query the database and present a set of options related to A in menu B. Based on what the user selects in menu B, I want to query the database and present a set of options related to B in menu C. Finally, when A, B and C are all selected, the user would submit the form for processing. How can this be achieved without subjecting the server/network to excessive overhead?
Any suggestions or comments would be appreciated!
For example, I have 3 drop-down menus in the same form named A, B and C. Based on what the user selects in menu A, I want to query the database and present a set of options related to A in menu B. Based on what the user selects in menu B, I want to query the database and present a set of options related to B in menu C. Finally, when A, B and C are all selected, the user would submit the form for processing. How can this be achieved without subjecting the server/network to excessive overhead?
Any suggestions or comments would be appreciated!