benq大哥,帮忙,请进入,谢谢!

06-05-18 cloveleaf
我模仿jdon的user管理例子,自己写了一个demo熟悉熟悉,结果出现以下错误,请帮忙看看:

所有的的代码和配置文件可以在这里下载

错误如下:

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: getPageIterator's result is null, check your ModelListAction subclass
	org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
	org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)


root cause 

java.lang.Exception: getPageIterator's result is null, check your ModelListAction subclass
	com.jdon.strutsutil.ModelListAction.execute(ModelListAction.java:67)
	org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15 logs.


// 在此输入java代码
<p>

很着急,谢谢帮忙!

猜你喜欢