Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jsp data display as a result of a button click

843840Oct 29 2009 — edited Oct 29 2009
i have a textfield in a jsp along with a SEARCH button. the search button searches the database for the existence of the value entered in the textfield.

how should i code so that at the click of search button the dbase is searched (for the entered value in textfield).
the dbase should be searchedonly after the click of search button.

i wud also like to display the searched value as a table data next to the button. how shud i code it. i coded search logic using a function which is in a javascript. but the function is executing before the press of the search button.

i'm new to JSPs. please help.. thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2009
Added on Oct 29 2009
3 comments
527 views