jsp-mysql problem
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sarika_k
Posted On:   Thursday, June 14, 2007 12:20 AM

i have installed Fedora Core 6 and i am getting following problem: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Exception in JSP: /test/index.jsp:103 100: <% 101: conn.openSession(); 102: String sqlString = "SELECT * FROM speciesnew.edit where deleted=0"; 103: conn.executeQry(sqlString); 104: 105: 106: ResultSet rs = conn.getResultset(); Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(jasper5-compiler-5.5.17.jar.so) org.apach   More>>

i have installed Fedora Core 6 and i am getting following problem:

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Exception in JSP: /test/index.jsp:103

100: <%
101: conn.openSession();
102: String sqlString = "SELECT * FROM speciesnew.edit where deleted=0";
103: conn.executeQry(sqlString);
104:
105:
106: ResultSet rs = conn.getResultset();


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(jasper5-compiler-5.5.17.jar.so)
org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.17.jar.so)
org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.17.jar.so)
org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.17.jar.so)
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.17.jar.so)

root cause

java.lang.NullPointerException
bean.BackEnd.executeQry(BackEnd.java:34)
org.apache.jsp.test.index_jsp._jspService(index_jsp.java:155)
org.apache.jasper.runtime.HttpJspBase.service(jasper5-runtime-5.5.17.jar.so)
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.17.jar.so)
org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.17.jar.so)
org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.17.jar.so)
org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.17.jar.so)
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.17.jar.so)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.






pls help. its urgent.

   <<Less
About | Sitemap | Contact