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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ejb stateless example 2 68
Is there a simpler dropbox system? 10 53
What browser will run Java? 7 177
Java array 10 87
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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

734 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