benq大哥,幫忙,請進入,謝謝!

cloveleaf發表於2006-05-18
我模仿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 class="indent">


很著急,謝謝幫忙!

相關文章