整合ssh框架时出现以下错误:是配置action找不到,但是配置没有问题:
org.apache.struts.chain.commands.InvalidPathException: No action config found for the specified url.applicationContext.xml
<bean name="/updateSuccess" class="com.system.actions.UpdateAction" scope="prototype">
<property name="supManager" ref="supManager" />
</bean>struts-config.xml
<action path="/updateSuccess"
type="org.springframework.web.struts.DelegatingActionProxy"
name="upDateForm"
scope="request">
<forward name="updateSuccess" path="/updateSuccess.jsp" />
</action>supUpdate.jsp
<form action="updateSuccess.do" method="post" ></form>
org.apache.struts.chain.commands.InvalidPathException: No action config found for the specified url.applicationContext.xml
<bean name="/updateSuccess" class="com.system.actions.UpdateAction" scope="prototype">
<property name="supManager" ref="supManager" />
</bean>struts-config.xml
<action path="/updateSuccess"
type="org.springframework.web.struts.DelegatingActionProxy"
name="upDateForm"
scope="request">
<forward name="updateSuccess" path="/updateSuccess.jsp" />
</action>supUpdate.jsp
<form action="updateSuccess.do" method="post" ></form>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货