File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Dropdown values for JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dropdown values for JSP" Watch "Dropdown values for JSP" New topic

Dropdown values for JSP

p s kk

Joined: Sep 27, 2010
Posts: 1
HI friends,

I need your help. I am new to jsp. here is my question

I have a JSP page with a drop down box. When the page first loads it gets data from server and loads the drop down box. The user selects one value. Based on this value, the second drop down box will show relative option.

For eg: the first Drop DOWN has the following entries.

Value 1
Value 2
Value 3

if the user selected Value 3 in the first drop down, it should show another value in the second dropdown

Thanks in advance for your help.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

Not really a JSP question as the most common solution uses JavaScript and Ajax. This is also a common question that gets asked often. Please SearchFirst.

I have moved this to the HTML forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Dropdown values for JSP
It's not a secret anymore!