首页上一页 1 下一页尾页 7 条记录 1/1页
·书名:《Java Web开发典型模块大全>>购物车模块出现了问题
发表在JavaWeb图书答疑
2009-06-03
是否精华
是
否
版块置顶:
是
否
地址栏输入:http://localhost:8080/01/打开购物区界面时在商品区有错误信息:
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.toolsbean.DB.getRs(DB.java:72)
com.dao.SuperDao.getAllR(SuperDao.java:30)
com.dao.SuperDao.setDaoPage(SuperDao.java:21)
com.dao.GoodsDao.getAllGoods(GoodsDao.java:22)
com.servlet.GoodsServlet.listgoods(GoodsServlet.java:94)
com.servlet.GoodsServlet.doPost(GoodsServlet.java:33)
com.servlet.GoodsServlet.doGet(GoodsServlet.java:25)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.filter.SubmitFilter.doFilter(SubmitFilter.java:33)
com.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:23)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
--------------------------------------------------------------------------------
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.toolsbean.DB.getRs(DB.java:72)
com.dao.SuperDao.getAllR(SuperDao.java:30)
com.dao.SuperDao.setDaoPage(SuperDao.java:21)
com.dao.GoodsDao.getAllGoods(GoodsDao.java:22)
com.servlet.GoodsServlet.listgoods(GoodsServlet.java:94)
com.servlet.GoodsServlet.doPost(GoodsServlet.java:33)
com.servlet.GoodsServlet.doGet(GoodsServlet.java:25)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.filter.SubmitFilter.doFilter(SubmitFilter.java:33)
com.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:23)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
--------------------------------------------------------------------------------