主题:请问这些是怎么个理解法,帮注释下
新手,请帮忙注释下,以下的该怎么理解
这是我从网上下的一个整站系统,并按书上说的那样放置的位置,就是jsproot/root/下的,并在tomcat里面的server.xml里配置对了路径,用简单语句测试过,没问题.里面有个数据库whilvydy.sql,我也下了mysql并配置完成,数据也导入成功.
可能说的不够详细,请大家帮我看下,这个是500错误
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException
net.jspcn.db.DbConnect.executeQuery(DbConnect.java:113)
org.apache.jsp.index_jsp._jspService(index_jsp.java:139)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
这是我从网上下的一个整站系统,并按书上说的那样放置的位置,就是jsproot/root/下的,并在tomcat里面的server.xml里配置对了路径,用简单语句测试过,没问题.里面有个数据库whilvydy.sql,我也下了mysql并配置完成,数据也导入成功.
可能说的不够详细,请大家帮我看下,这个是500错误
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException
net.jspcn.db.DbConnect.executeQuery(DbConnect.java:113)
org.apache.jsp.index_jsp._jspService(index_jsp.java:139)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.