• Post Reply Bookmark Topic Watch Topic
  • New Topic

i want to create 2 dynamic drop down list

 
Omer Baaqeel
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

i want to create 2 dynamic drop down list using struts and hibernate

i want the first one to display countries name then if i select a country name the second drop down list will automatic display the country cities .

i'm using database here and my tables like that :-

country table
country_id number(3) pk
country_name varchar(50)

city table
city_id number(5) pk
country_id(3) fk references country(country_id)
city_name varchar(50)

thank you in advance
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!