首页上一页 1 下一页尾页 2 条记录 1/1页
<JSP项目开发全程实录>第10章博客网,登陆和注册点击后出现空指针怎么解决
发表在JavaWeb图书答疑
2008-07-25
是否精华
是
否
版块置顶:
是
否
[font size=6]HTTP Status 500[/font] -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.wy.tool.JDBConnection.executeQuery(JDBConnection.java:52)
com.wy.dao.ConsumerDao.getConsumerForm(ConsumerDao.java:98)
com.wy.webiter.ConsumerServlet.checkConsumer(ConsumerServlet.java:169)
com.wy.webiter.ConsumerServlet.doGet(ConsumerServlet.java:16)
com.wy.webiter.ConsumerServlet.doPost(ConsumerServlet.java:186)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.16
点击登陆后报这样空指针的错...
在PhotoSerlvet.java里
import com.jspsmart.upload.File;
import com.jspsmart.upload.Files;
这两个道入包报错..我又找不到.请帮帮忙..很急..谢谢了
还有一个就是所有的网页出现
Severity and Description Path Resource Location Creation Time Id
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized 10/src/com/wy/dao DiscussDao.java line 42 1216954877875 39
的警告是怎么回事?
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.wy.tool.JDBConnection.executeQuery(JDBConnection.java:52)
com.wy.dao.ConsumerDao.getConsumerForm(ConsumerDao.java:98)
com.wy.webiter.ConsumerServlet.checkConsumer(ConsumerServlet.java:169)
com.wy.webiter.ConsumerServlet.doGet(ConsumerServlet.java:16)
com.wy.webiter.ConsumerServlet.doPost(ConsumerServlet.java:186)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.16
点击登陆后报这样空指针的错...
在PhotoSerlvet.java里
import com.jspsmart.upload.File;
import com.jspsmart.upload.Files;
这两个道入包报错..我又找不到.请帮帮忙..很急..谢谢了
还有一个就是所有的网页出现
Severity and Description Path Resource Location Creation Time Id
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized 10/src/com/wy/dao DiscussDao.java line 42 1216954877875 39
的警告是怎么回事?