Solved

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

Posted on 2006-07-24
5
259 Views
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..
0
Comment
Question by:gocoool
[X]
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
5 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 17168929
What problem are you having?
0
 

Author Comment

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

Expert Comment

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

Author Comment

by:gocoool
ID: 17169856
That is the web page..
0
 
LVL 10

Accepted Solution

by:
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.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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…
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

628 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