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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
bunnyEars2 challenge 6 67
word0 challenge 3 56
eclipse formatting 6 40
what is a "java.lang.System Property"   ? 20 35
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This video teaches viewers about errors in exception handling.

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now