• Post Reply Bookmark Topic Watch Topic
  • New Topic

Populating the ComboBox by selecting another  RSS feed

 
Aravind Prasad
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers
In my project, i've 2 tables
1) Lead-Time
2) Mode of Transport

Lead-Time includes the following column
1) Source Country
2) Source Port
3) Destination Country
4) Destination Port
5) Transport code
6) Lead Time
NB: the lead time will be different.. according to the transport code
Transport Table contains
1) Type of transport (Air/Sea/Road)
2) Description

========================================================================
In my jsp page.
I've 5 combo boxes
1) Mode of transport
2) Source-Country (populating from the database using group-by)
3) Source Port
4) Destination Country
5) Destination Port

When i select AIR in the first combo and select the country in the second, i want to get the port(s) in the particular country populated in the third combo.

How can i do this..
Please help me ranchers

Thanks in advance

regards
Aravind
 
Aravind Prasad
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers.
At present i'm doing like this..Please tell me if any error in the code is there!! ..


Please Help me

regards
Aravind
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!