ITeye博客

struts

共 1 篇文章

struts2 2.5使用通配符

在Struts2中,关于Action使用最多的就是通配符,在2.5以前通过配置Struts.xml文件即可正常使用通配符,但是升级到2.5以后,始终报404找不到Action。 通过查询,Struts2 2.5中默认是不开启通配符,需要将strict-method-invocation设置为false [code="java"] [/code]

2016-08-29 15:28 · struts