I have been developing using java swing but I need to change to Java web. Normally I would write a itemStateChanged method like this:
public void itemStateChanged(ItemEvent eie) {
Object obj = eie.getSource();
if (obj == cboDormitory) {
//My other Actions here
}
}
This way I am able to populate other JcomboBoxes with data from the database based on the selection of the first JComboBox. I need to find a way to do the same on a jsp page. I would really Appreciate an example. Thank you in advance.