Upload of the second select box based on the selection based on the first select box

Posted on 2006-07-24
Last Modified: 2010-03-31

Hi i have two select boxes. First select box is hardcoded. Based on the selection made on the first select box the datas should be populated from the database to the second select box..
Question by:gocoool
  • 2
  • 2
LVL 86

Expert Comment

ID: 17168929
What problem are you having?

Author Comment

ID: 17169047
I want to know how to do that. I want the logic of doing that.... I have to start working on that
LVL 86

Expert Comment

ID: 17169238
Is it a web form or a Swing gui?

Author Comment

ID: 17169856
That is the web page..
LVL 10

Accepted Solution

mukundha_expert earned 250 total points
ID: 17170034
when you select the first select box an event will be generated ( i think its onselect  ).

on selecting the first option, send a request to the JSP or servlet to get the data from the database and populate the values of the second select box.

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jar file executable 12 52
table example 4 29
jdbc error in jsp application 20 45
configure dependency in POM for new database 3 25
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question