Hi all,
I have a spring mvc application,there are two steps that I want to do.
First to read date from database and show it in a table in jsp file,for each row in the table,there is a drop down list in the jsp file.
Next step is to submit the data in the table,but the problem is that instead of getting the data from the selected dropdown list,it includes all other dropdown data in the controller side.here is the code:
@RequestMapping(method = RequestMethod.POST, value="/do", params="start")
public String startScheduler(@ModelAttribute("command") String command) {
return "eenSimulator";
}
What I have tried:
i have tried to use model attribute annotation and select tag in spring but it sends all the data not just the selected dropdown