struts2整合axis2后,访问不到wsdl,被struts2拦截的解决办法

axis2的版本是 axis1.6.2

在struts2中整合axis2后,访问wsdl的时候显示404  not found
There is no Action mapped for action name xxxxxxxx.

解决办法:
在struts.xml配置文件中加入排除过滤的地址
<constant name="struts.action.excludePattern" value="/services.*"/>
value中的“.”符号是必须的,如过滤地址为  “/services/*”   value必须配置为 "/services.*"

黑色头发:http://heisetoufa.iteye.com

猜你喜欢

转载自heisetoufa.iteye.com/blog/2195510