countryCollection is an ArryList with object of
struts’ LabelValueBean. The value is the country
code and label is the country name for example.
Once the user changes the country selection, it will
submit the change to server so that the action can
generate the city list based on the selected county.
Once it’s done, forward to itself. The list of city
will be populated accordingly.
I have 2 selections: Country and City
I have 2 collections in session (CityList contains a
reference to Country)
I don’t want the user to select a City before
selecting a Country and I want
to display a list of Cities that relate to the
selected Country…
for this both country & city name should be retrived from database. in this project i am using hibernate,struts and tool myeclipse ….
plz do help me….thx in advance…
chandra mohan.S