I am having two select boxes in my jsp page. I need to populate second select box depending upon the value selected in first select box. I am able to do this. But the problem is i am not getting the value selected in the second select box in the action class. i have provided getters and setters for both select boxes.
So that, it take the value from truckList and set it in form hidden value. And call the function before form submit.
It will definitely pass the selected value of truckList to action class.