[请教]关于500 Action[/resourceType] does not contain method named restype_admin错误(在线等)
最近新上手structs
遇到一段程序出现500 Action[/resourceType] does not contain method named restype_admin错误 请大家指点
配置文件 如下,如果还需要看什么内容请告诉我,我发上来,看看哪里出的问题
==============================struts-config-resource.xml==========================
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<!-- ========== Form Bean Definitions ========== -->
<form-beans>
<form-bean name="ResourceTypeForm" type="com.shareinfo.resource.forms.ResourceTypeForm">
</form-bean>
<form-bean name="ResourceForm" type="com.shareinfo.resource.forms.ResourceForm">
</form-bean>
</form-beans>
<!-- ========== Global Forward Definitions ========== -->
<global-forwards>
<!-- <forward name="error" path="/error.jsp"/> -->
<forward name="error" path="base.timeout"/>
</global-forwards>
<!-- ========== Action Mapping Definitions ========== -->
<action-mappings>
<action path="/resourceType"
name="ResourceTypeForm"
parameter="method"
type="com.shareinfo.resource.action.ResourceTypeAction"
validate="false"
scope="request">
<forward name="editpath" path="/editrestype.jsp"/>
<forward name="listpage" path="/resourceType.do?method=restypelist"/>
<forward name="success" path="sysconfig.restype_admin"/>
</action>
<action path="/resource"
name="ResourceForm"
parameter="method"
type="com.shareinfo.resource.action.ResourceAction"
validate="false"
scope="request">
<forward name="edit" path="/resourceEdit.jsp"/>
<forward name="updateinfo" path="/updateinfo.jsp"/>
<forward name="list" path="/resourceRight.jsp"/>
<forward name="success" path="sysconfig.restype_admin"/>
<forward name="transfer" path="/batchTransfer.jsp"/>
<forward name="relation" path="/rcRight.jsp"/>
<forward name="listpic" path="/showpic.jsp"/>
</action>
</action-mappings>
<!-- ========== Associated Messages Ressource settings ========== -->
<message-resources parameter="resources_resource" null="false"/>
<!-- ========== Setup the Tiles plugin in ======================= -->
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config" value="/WEB-INF/titles-defs-resource.xml" />
<set-property property="definitions-parser-validate" value="true" />
<set-property property="moduleAware" value="true" />
</plug-in>
</struts-config>
=========================================================================================================
------------------------------------titles-defs-resource.xml-------------------------------------------
<?xml version="1.0" encoding="GB2312" ?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
<tiles-definitions>
<!--区域描述管理界面-->
<definition name="sysconfig.restype_admin" path="/common/layout.jsp">
<put name="title" value="资源类型管理" />
<put name="javascript_header" value="/resource/restype_javascript.jsp" />
<put name="functions" value="/resource/restype_functions.jsp" />
<put name="main" value="/resource/restypelist.jsp" />
</definition>
<!--登陆信息无效-->
<definition name="base.timeout" path="/common/layout.jsp">
<put name="title" value="请重新登陆" />
<put name="main" value="/usermanger/error.jsp" />
</definition>
</tiles-definitions>