
org.apache.jasper.JasperException: An exception occurred processing JSP page /jsp/pagination.jsp at line 54
51: } 52: String query1="SELECT SQLCALCFOUND_ROWS * FROM db2admin.reglimit "+iPageNo+","+showRows+""; 53: ps1=conn.prepareStatement(query1); 54: rs1=ps1.executeQuery(); 55: 56: String query2="SELECT FOUND_ROWS() as cnt"; 57: ps2=conn.prepareStatement(query2);
Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Solution provided by can't slove my problem : here I am using DB2 as database where my table name is "reg" and i developing my project by using MyEclipse IDE

Post your code.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.