jsp data display as a result of a button click
843840Oct 29 2009 — edited Oct 29 2009i 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.