A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
get database values based on text entered
Joined: Jan 04, 2007
Mar 15, 2007 04:50:00
I have a text field grpid and based on the grpid I enter I need to populate database values for 3 other text fields in the page. Should I call a action class onchange of textfield ? Is this the right approach.
Joined: Aug 10, 2005
Mar 15, 2007 09:41:00
Your approach is correct.It a traditional approach and its widely used, but the disadvantage of it is it would re-load the entire page again. The other way of doing it using Ajax.
Hope this helps.
Thanks and Regards,
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: get database values based on text entered
array of sub Sets from parent Set ?
how to show the request and result in same page
adding dyanmic textboxes and submitting it to ActionForm
j2me database as text file
jsp + dropdown + automatically populate the vales from the db in the Text box
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013