This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes i want to create 2 dynamic drop down list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "i want to create 2 dynamic drop down list " Watch "i want to create 2 dynamic drop down list " New topic
Author

i want to create 2 dynamic drop down list

Omer Baaqeel
Greenhorn

Joined: Nov 16, 2005
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i want to create 2 dynamic drop down list
 
Similar Threads
Simple SQL joining 2 tables - 2 many rows being returned
Hibernate Newbie - 1 to Many Relation Tutorial
Restore problem
how to display dynamic table using Ajax and JScript
combining LEFT OUTER JOIN and WHERE