struts-config.xml代码:
<action attribute="deparetmentForm" name="deparetmentForm" parameter="method" path="/deparetment" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="departmentList" path="/../WEB-INF/sys/departmentList.jsp"></forward> </action>
applicationContext.xml代码:
<!-- action --> <bean name="/deparetment" class="com.accp.sys.department.action.DepartmentAction"> <property name="bizTemplate" ref="bizTemplate"></property> </bean>
页面代码:
<tr> <td height="20" style="cursor:hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; " onmouseout="this.style.borderStyle='none'"> <a href="./department.do?method=list" target="I2"> <span class="STYLE3">权限管理</span> </a> </td> </tr>
我的项目路径是:com.XX.sys.department.action.department.action
HTTP Status 404 - Invalid path was requested
麻烦各位帮我看一下,先谢谢了!