现在有两个struts-config.xml,分别是:
web-inf/dir/struts-config.xml
web-inf/struts-config.xml现在有个关于设置的问题,
http://localhost/dir/test.jsp中的html:form,要怎么做才能采用web-inf/dir/struts-config.xml中的设置。就如同
<html:link module="/dir" action="/test">test</html:link>
采用的是web-inf/dir/struts-config.xml
web-inf/dir/struts-config.xml
web-inf/struts-config.xml现在有个关于设置的问题,
http://localhost/dir/test.jsp中的html:form,要怎么做才能采用web-inf/dir/struts-config.xml中的设置。就如同
<html:link module="/dir" action="/test">test</html:link>
采用的是web-inf/dir/struts-config.xml
解决方案 »
- SSH2 action 注入的 service 为 null
- properties文件中的数剧无法更改的问题
- jsp javax.servlet.ServletException: com.mysql.jdbc.Driver
- tomcat错误 error in opening zip file
- JSP工程在myeclipse中能运行,为什么单独启动tomcat就不能运行了??在线等!!!!
- 怎么单击tr就能让这一tr里的多选框选中
- Eclipse3.2.1中不能连接MySQL数据库
- 连接数据库异常问题
- getParameter与getString的区别
- hibernate查询return造成数组越界
- java虚拟机的问题
- 求助!
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml,/WEB-INF/struts-config-admin.xml</param-value>
</init-param>但是假如你的另外一个配置文件在dir/目录下面你就只有试试了,把那个的相对路径加进去,