• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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....
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic