File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
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,
I agree. Here's the link:
subject: get database values based on text entered
j2me database as text file
jsp + dropdown + automatically populate the vales from the db in the Text box
how to show the request and result in same page
adding dyanmic textboxes and submitting it to ActionForm
array of sub Sets from parent Set ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015