It's not a secret anymore!
The moose likes JSP and the fly likes Population Drop Down Fields in JSP from Database table 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 "Population Drop Down Fields in JSP from Database table" Watch "Population Drop Down Fields in JSP from Database table" New topic
Author

Population Drop Down Fields in JSP from Database table

SVeena Devi
Greenhorn

Joined: Sep 18, 2006
Posts: 4
Hi,
Need to populate a dropdown field values in JSp based on another Text Field.
I am using servlets for other fields.
Please let me know how to get option values from table.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Hello, SVeena Devi.

This is one of our most commonly asked questions so you will find many discussions on the subject if you search this and the HTML/Javascript forum.

There are several approaches.
The best for you depends on how your app is written and the nature of the data that will fill the select lists.

Try searching the forum.
If you don't find something that works for you, post back with some details about your project.

-Ben


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: Population Drop Down Fields in JSP from Database table
 
Similar Threads
Print row data from a JSP
How to update Session variable with Form Data ?
URGENT Help Needed ...!!
Insert in JSp
Getting null values in table even after the input