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

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
Weekend adv creator 3 53
hibernate example for saving data 19 55
jboss 7.1 start up error 1 40
Using jdbcTemplate.batchUpdate to improve INSERT performance 6 23
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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 …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

828 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