![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts
banrui1028
这个作者很懒,什么都没留下…
展开
-
把strtus2里*.action换成*.do的方法
在struts1里默认的action处理后缀是*.do,而在struts2里默认的是*.action 在struts.xml中加入 或者在struts.properties中加入struts.action.extension=do 便可以使struts2里所有的action处理后缀变为*.do,当然换成其他的也行。原创 2009-04-19 01:15:00 · 447 阅读 · 0 评论 -
把strtus2里*.action换成*.do的方法
在struts1里默认的action处理后缀是*.do,而在struts2里默认的是*.action 在struts.xml中加入<constant name="struts.action.extension" value="do" /> 或者在struts.properties中加入struts.action.extension=do 便可以使stru...2009-04-19 01:11:32 · 116 阅读 · 0 评论