在struts-config.xml中配置validator-plugin导致404 Servlet action is not available

时间:2014-06-11 09:13:39   收藏:0   阅读:213

就是在struts-config.xml中添加了这么一段

<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
        <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
        <set-property property="stopOnFirstError" value="false"/>
    </plug-in>

至于原因。。。不清楚

 

我第一反应是form的action写错了,或者action-mapping配置有问题。。。其实不是,因为我发现以前可以运行的action都不能用了,所以才怀疑到这个上面来

在struts-config.xml中配置validator-plugin导致404 Servlet action is not available,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!