我写的项目,web.xml配置了
struts2
org.apache.struts2.dispatcher.FilterDispatcher
struts2
/*
JSP页面也引入了
但是为什么只要有struts标签就报错
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag. - [unknown location]
root cause
The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag. - [unknown location]
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2.2 logs.
GlassFish Server Open Source Edition 3.1.2.2
很着急啊~求各位大神快来帮忙吧~
本文讲述了作者遇到的Struts2项目中使用Struts标签时遇到HTTP 500错误,详细分析了问题原因——未启用Struts filter,并提供了解决步骤和排查技巧,紧急求助帖提供了一线生机。


被折叠的 条评论
为什么被折叠?



