struts2 一些小技巧

1. <constant name="struts.devMode" value="true" />

2. java source attachment的使用,导入struts2的代码路径为struts-2.2.1.1\src\core\src\main\java

3. 给struts.xml文件加提示,在eclipse中xml catalog 中加入 http://struts.apache.org/dtds/struts-2.0.dtd 这个

    dtd文件。

猜你喜欢

转载自xiaoyuzhou.iteye.com/blog/1020546