Posted two folk write immediately I write to talk almost it . ,
Vibram FiveFingers Bikila
First of all I think this is child 's .
My province . City . There are in the database .
Easy to manage .
provinces table ashore one ID. a province name .
city table an ID. a city name to one of provinces of ID.
OK.
I use struts + ajax.
not bean. no actionform.
only two action.
the 1st one to peruse from the database list of entire the provinces and then saved in the tag to jot pages with to inside .
second to receive the pass from the page the js in the province over the last ID. based on this ID in the database to nail all the subordinate cities and then processed to return to the sheet .
there namely a Class. that the commerce layer. which join to the database and only 2 means : getProvince (). getCities (String provinceID). take the province . to take the metropolis .
movement which simply call the applicable method such OK.