关于Struts 多模块的问题
大家好 ,我之前写好了程序,所有的Struts配置 均在struts-config.xml里面进行,
现在我新建了一个struts-xql-config.xml,然后把一些action和form移动到了这个文件中,发现以前的页面都跑不了了,我都是按照网上的方法来的,
web.xml:
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>config/xql</param-name>
<param-value>/WEB-INF/struts-xql-config.xml</param-value>
</init-param>
在没有移动action和from之前,这个链接是有效的
<h1 align="center"><a href="PM05/showDeptAllInfos.do">部门表</a></h1>
现在失效了,报错如下:
type Status report
message Invalid path /showDeptAllInfos was requested
description The requested resource (Invalid path /showDeptAllInfos was requested) is not available.
请问这是为什么?