java.lang.IllegalStateException: Must have the StrutsPrepareFilter execute before this one


Servlet.service() for servlet [jsp] in context with path [/struts2Study] threw exception
java.lang.IllegalStateException: Must have the StrutsPrepareFilter execute before this one
出现这个异常说明web.xml配置出现错误,说明没有 StrutsPrepareFilter过滤器,在web.xml中配置成org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter,而不是org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter,


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM