日期:2014-05-19 浏览次数:20895 次
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<include file="../config/common/struts-a.xml" />
....
</struts>
<struts> <include file="struts-b.xml" /> .... </struts>
<struts>
<package name="struts-abc" namespace="/public/common/test">
<action name="abc" class="abc">
<result name="success" type="dispatcher">/web/abc.jsp</result>
</action>
</package>
</struts>
ERROR(Dispatcher.java:512)Dispatcher:512 - Could not find action or result There is no Action mapped for namespace /public/common/test and action name abc. - [unknown location]
<package name="struts-abc" namespace="/public/common/test">
<action name="abc" class="abc">
<result name="success" type="dispatcher">/web/abc.jsp</result>
</action>
</package>