"Hi All! When user click the FIND button in the jsp,he has to see the DB table information in his current jsp. Any one please help me Thanks Janardhan //*-------- INTERESTED IN THIS MESSAGE? RELATED CONTENT -------- Opus Research: Contact Centers in the Age of SOA (White Papers) http://www.ittoolbox.com/da/454697 What is AJAX? A nontechnical answer (Blogs) http://www.ittoolbox.com/da/443879 Java (Wiki) http://www.ittoolbox.com/da/230711 RE: How to remove ctrl-M using script (Groups) http://www.ittoolbox.com/da/230712 -------------------------------------------------------------*// "

Well, there are different ways of doing it. Either use AJAX, or use struts
and the 3rd option will be to keep a check in ur current jsp page indicating
the button click. If the button id click update the flag to true and in the
particular block write the code to get the table info.

The idea is that have a hidden field. When the user clicks on the find
button, through javascript populate that field let say ""view"". Then at the
top of the page have a check.