修改strut默认的action后缀

在struts.xml文件里

<constant name="struts.action.extension" value="action,do,,"/>

在struts.properties配置文件里面

struts.action.extension=action,do,,

<!--因为.xml文件会先加载,然后会被覆盖,最终以properties文件里面的后缀为主->

posted @ 2018-05-14 17:53  傲云萧雨  阅读(104)  评论(0编辑  收藏  举报