Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dropdown values for JSP  RSS feed

 
p s kk
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

sri
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!