当前位置: 代码迷 >> Web前端 >> 分页异常2
  详细解决方案

分页异常2

热度:434   发布时间:2012-09-10 22:20:12.0
分页错误2
2011-10-14 16:45:10 com.wabacus.system.tags.AbsWabacusTag doEndTag
严重:
com.wabacus.exception.WabacusRuntimeException: <navigate/>标签的type属性first不
合法
        at com.wabacus.system.tags.NavigateTag.doMyEndTag(NavigateTag.java:128)
        at com.wabacus.system.tags.AbsWabacusTag.doEndTag(AbsWabacusTag.java:210
)
        at org.apache.jsp.testtagpage1_jsp._jspx_meth_wx_005fnavigate_005f3(test
tagpage1_jsp.java:549)
        at org.apache.jsp.testtagpage1_jsp._jspx_meth_wx_005freport_005f0(testta
gpage1_jsp.java:225)
        at org.apache.jsp.testtagpage1_jsp._jspx_meth_wx_005fpage_005f0(testtagp
age1_jsp.java:125)
        at org.apache.jsp.testtagpage1_jsp._jspService(testtagpage1_jsp.java:89)

        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:417)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
91)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:304)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.et.mvc.DispatcherFilter.doFilter(DispatcherFilter.java:229)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:684)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:471)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:402)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:329)
        at com.wabacus.WabacusServlet.service(WabacusServlet.java:271)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:304)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.et.mvc.DispatcherFilter.doFilter(DispatcherFilter.java:229)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.aoxun.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:64)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:240)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:164)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:164)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:100)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
562)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:394)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:243)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:188)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:166)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:302)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NumberFormatException: For input string: "first"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.
java:48)
        at java.lang.Integer.parseInt(Integer.java:447)
        at java.lang.Integer.parseInt(Integer.java:497)
        at com.wabacus.system.tags.NavigateTag.doMyEndTag(NavigateTag.java:125)
        ... 44 more
--- ROOT CAUSE ---
java.lang.NumberFormatException: For input string: "first"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.
java:48)
        at java.lang.Integer.parseInt(Integer.java:447)
        at java.lang.Integer.parseInt(Integer.java:497)
        at com.wabacus.system.tags.NavigateTag.doMyEndTag(NavigateTag.java:125)
        at com.wabacus.system.tags.AbsWabacusTag.doEndTag(AbsWabacusTag.java:210
)
        at org.apache.jsp.testtagpage1_jsp._jspx_meth_wx_005fnavigate_005f3(test
tagpage1_jsp.java:549)
        at org.apache.jsp.testtagpage1_jsp._jspx_meth_wx_005freport_005f0(testta
gpage1_jsp.java:225)
        at org.apache.jsp.testtagpage1_jsp._jspx_meth_wx_005fpage_005f0(testtagp
age1_jsp.java:125)
        at org.apache.jsp.testtagpage1_jsp._jspService(testtagpage1_jsp.java:89)

        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:417)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
91)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:304)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.et.mvc.DispatcherFilter.doFilter(DispatcherFilter.java:229)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:684)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:471)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:402)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:329)
        at com.wabacus.WabacusServlet.service(WabacusServlet.java:271)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:304)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.et.mvc.DispatcherFilter.doFilter(DispatcherFilter.java:229)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.aoxun.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:64)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:240)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:164)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:164)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:100)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
562)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:394)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:243)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:188)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:166)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:302)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
        at java.lang.Thread.run(Thread.java:619)
1 楼 349446658 2012-01-03  
新版本不是在type中指定first,而是指定1来表示跳到第一页
  相关解决方案