Originally posted by kavya tandel: i m new in jsp.... so,plz help me... i have one combobox which has id.As one of id in the combobox is selected...i have to display related data from database.... So,what can i do? thnks....
- Make a request to the server - check the combo parameter there on server - retrieve the corresponding data from the database - respond to the same jsp and show the data there in the text field
If you are not getting me then please send that specific point where you have trouble.
Jsp development is not desktop development. Try to think about webapp in terms of pages, query parameters and form posting. To retreive some data you almost always need to post some data to server and return the same page or another one with updated values. Similar topics have been discussed here many times (recently)
subject: how to display data from db in textbox according to data selected in combobox in jsp