首页上一页 1 下一页尾页 5 条记录 1/1页
《JAVAWEB开发实战宝典》第25章
发表在JavaWeb图书答疑
2010-08-16
是否精华
是
否
版块置顶:
是
否
《JAVAWEB开发实战宝典》第25章导入项目,删除所选和删除全部不能实现。
1、医药管理系统中的药品管理,查看药品,在删除下的框框打钩,点击删除所选,但是不能删除,点击删除全部也是不能删除。(按照技术人员的回答帮助,我删除了数据库,重新建数据库和表后还是出现这个问题)
2、进货/需求管理中的查看进货,输入模糊查询条件后,出现错误:
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NullPointerException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.lyq.util.HibernateFilter.doFilter(HibernateFilter.java:36)
com.lyq.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:35)
root cause
java.lang.NullPointerException
com.lyq.struts.action.BaseAction.getPage(BaseAction.java:71)
com.lyq.struts.action.RequireAction.blurQuery(RequireAction.java:190)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
com.lyq.struts.action.BaseAction.execute(BaseAction.java:42)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.lyq.util.HibernateFilter.doFilter(HibernateFilter.java:36)
com.lyq.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:35)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.
1、医药管理系统中的药品管理,查看药品,在删除下的框框打钩,点击删除所选,但是不能删除,点击删除全部也是不能删除。(按照技术人员的回答帮助,我删除了数据库,重新建数据库和表后还是出现这个问题)
2、进货/需求管理中的查看进货,输入模糊查询条件后,出现错误:
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NullPointerException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.lyq.util.HibernateFilter.doFilter(HibernateFilter.java:36)
com.lyq.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:35)
root cause
java.lang.NullPointerException
com.lyq.struts.action.BaseAction.getPage(BaseAction.java:71)
com.lyq.struts.action.RequireAction.blurQuery(RequireAction.java:190)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
com.lyq.struts.action.BaseAction.execute(BaseAction.java:42)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.lyq.util.HibernateFilter.doFilter(HibernateFilter.java:36)
com.lyq.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:35)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.