Login Register

Two combo box problem

Hi i have 2 two combo boxes, one is for country and other is for cities. When i choose a country, this country's citis must set to combo box 2.

I have two lists in session. Their type is Country and City

public class Country{
private int countryID;
private String countryName;
//getters and setters
}

public class City{
private int countryID;
private int cityID;
//getters and setters
}

I am using Spring Framework, please help me!

}