Forums Register Login

how to display data from db in textbox according to data selected in combobox in jsp

+Pie Number of slices to send: Send
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....
+Pie Number of slices to send: Send
 

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.
+Pie Number of slices to send: Send
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)

regards
I'm just a poor boy, I need no sympathy, because I'm easy come, easy go, little high, little low, little ad
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1877 times.
Similar Threads
ComboBox component (not JComboBox)
Display a JFrame, without Applet
Front man example
Display same Data in JSP after reloading it
JTable Cell Editor
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:08:40.