aspose file tools*
The moose likes JSP and the fly likes Display values in drop down menu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
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
 
wood burning stoves
 
subject: Display values in drop down menu