• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

getting values into the drop down list from database

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have three dropdown lists
ok

when i opened or load the JSP page it should values from the database into the
1st dropdown list

when i select any value in the this dropdown list it shown load the 2nd dropdown list

and similarly on selecting any value from 2nd dropdown list ten i have get value into 3rd drop down list


when i ask my friends they said concept of "virtual submit" and
said tat we can call the
submit in 'onChange' attribute

but how can we get values loaded into the JSP while loading
and they said that it can be done"by callind .do at the database level

if above methods are correct any explain how or please provide me link so that i can myself

or solutions please
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is referred to as "dependent dropdowns" or "dependent selects". It has been discussed recently in this forum in this thread. In addition, you will find a lot of information by "Googling" this topic.

After reading the other thread, let us know if you have more questions.
 
I'm not sure if I approve of this interruption. But this tiny ad checks out:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic