I created a JSP page where I created a search form where the user can see some specific records of a student in the same page just below the search button. The search is done as follows:
"select col1, col2 from table1 where regn_no='"+regn_no+"'";
After displaying two columns(col1, col2), I have another button in the same jsp page to view the details to see details of the particular student based on the regn_no
. The search button is working fine, but the view details button not. I do not know how to call the same servlet. Any help will be much appreciated.