This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes Display values in drop down menu Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Display values in drop down menu" Watch "Display values in drop down menu" New topic
Author

Display values in drop down menu

swetha deshmukh
Greenhorn

Joined: Jul 19, 2005
Posts: 9
There are 2 combo boxes(select-option) when i select a value(ChannelId) in a combo box then its related info should be displayed in other box(ProgrammeNames for that particular ChannelID).
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Use javascript or submit the request to the server and send back the new page with the second combo.


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I have a demo app that does this on my site
http://simple.souther.us/not-so-simple.html
Look for DynamicSelectLists.

Most of the work is done in servlets and beans but the logic would be no different in a model 1 JSP.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display values in drop down menu
 
Similar Threads
Problem in JSP with respect to combo box.
Combo Box
Select the value from the Combo box
combo box in javascript
'select' box interferring with my pulldown menu