<constant name="struts.action.excludePattern" value="/services/.*" />
在struts.xml 加上次配置。
value的内容是 正则表达式struts2 使filter 过滤某些路径
最新推荐文章于 2018-06-17 09:44:06 发布
本文详细介绍了在Struts.xml文件中添加配置,用于排除特定模式路径的方法,通过使用正则表达式实现对'/services/.*'路径的过滤。
4297

被折叠的 条评论
为什么被折叠?



