Click here to Skip to main content
15,868,440 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am using spring 3 mvc, my application has multiple drop down boxes, on select of option from 1st drop down 2nd drop down should load and onselect of 2nd dropdown box ,3 and 4th dropdown should load data dynamically which i will get from database. As of now working fine, but in a wrong way. For each dropdown menu i am writing separate controller class and returning the value to the drop down. Is their any way to write only one controller class and based on the request and the response returned i will populate the data in the drop downs. Please suggest . Thanks in advance.
Posted
Updated 18-May-23 1:39am

1 solution

Your component should have an ID. Ask for that and react on that.

http://www.mkyong.com/spring-mvc/spring-mvc-dropdown-box-example/[^]
 
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