tomcat问题 HTTP Status 500

来源:百度知道 编辑:UC知道 时间:2024/06/05 06:38:34
HTTP Status 500 - No action instance for path /webcontent/callcenter/ldxx could be created

--------------------------------------------------------------------------------

type Status report

message No action instance for path /webcontent/callcenter/ldxx could be created

description The server encountered an internal error (No action instance for path /webcontent/callcenter/ldxx could be created) that prevented it from fulfilling this request.

希望大家能帮我解决下。头痛~~找2两天也不知道哪里出了问题!哎~水平有限啊。。。。

楼主No action instance for path /webcontent/callcenter/ldxx could be created
也就是配置/webcontent/callcenter/ldxx的实例找不到,注意
见一楼的配置,其中的type中的路径一定是你存在的包中存在的ldxx的action类,很可能是type中配置错误了
<action
path="/webcontent/callcenter/ldxx"
scope="request"
type="com.test.struts.action.xxxxx">
<forward
name="success"
path="/index.jsp" />
</action>

没有找到/webcontent/callcenter/ldxx 需要调用的ACTION

注意下面action中name、path有没有写错
<action
path="/webcontent/callcenter/ldxx"
scope="request"
type="com.test.struts.action.xxxxx">
<forward
name="success"
path="/index.jsp" />
</action>