`

java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade

 
阅读更多
Java代码
  1. 2012-10-419:50:37org.apache.catalina.core.StandardWrapperValveinvoke
  2. 严重:Servlet.service()forservletdefaultthrewexception
  3. java.lang.IllegalStateException
  4. atorg.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:407)
  5. atorg.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:839)
  6. atorg.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:533)
  7. atorg.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
  8. atorg.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
  9. atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  10. atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  11. atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  12. atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  13. atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  14. atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  15. atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  16. atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
  17. atorg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
  18. atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
  19. atorg.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  20. atjava.lang.Thread.run(Thread.java:619)

在用action 里返回json 数据时,不能return SUCCESS ,必须return null 否则报此错误!

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics