Topic: 大侠帮帮我啊,调试这jsp留言板时怎么总报这样的错误啊? |
Print this page |
1.大侠帮帮我啊,调试这jsp留言板时怎么总报这样的错误啊? | Copy to clipboard |
Posted by: hwmhwmhwm Posted on: 2005-04-29 08:41 大侠帮帮我啊,调试这jsp留言板时怎么总报这样的错误啊? 下载地址 http://www.jzxxy.com/bbs/viewFile.asp?Boardid=24&ID=60 我按“说明”,把下载的留言板解压后,将其放在Tomcat\webapps\ROOT\GbookOfCool\GbookOfCool下,先用MYSQL建立数据库wu,本程序的JDBC驱动程序在Tomcat\webapps\ROOT\WEB-INF\LIB目录下,修改Tomcat\webapps\ROOT\GbookOfCool\GbookOfCool内的jdbc.java文件,把连MYSQL的用户名换为root 密码换为001129 后编译为jdbc.class,把jdbc.class放在Tomcat\webapps\ROOT\WEB-INF\classes\wu下,再在tomcat内予览ly.jsp ,最后键入 http://localhost:8080/GbookOfCool/GbookOfCool/ly.jsp 可是出现如下错误,请问 1.我的操作错在哪啊? 2.什么是description The server encountered an internal error () that prevented it from fulfilling thisrequest.错误啊?怎样做才能把这留言板调试正常啊?谢谢! 错误如下 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:346) 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:810) root cause java.lang.NullPointerException org.apache.jsp.GbookOfCool.GbookOfCool.ly_jsp._jspService(ly_jsp.java:75) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298) 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:810) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.24 logs. -------------------------------------------------------------------------------- Apache Tomcat/5.0.24 |
2.Re:大侠帮帮我啊,调试这jsp留言板时怎么总报这样的错误啊? [Re: hwmhwmhwm] | Copy to clipboard |
Posted by: chengbd Posted on: 2005-04-30 04:55 将其放在Tomcat\webapps\ROOT\GbookOfCool\GbookOfCool下 查看置顶的帖子吧。 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |