struts2出错了,为啥返回状态值为啥是200
struts2吧
全部回复
仅看楼主
level 1
laden666666
楼主
传参数出了错误,但是返回的状态码还是200,搞得我的jquery.ajax老是以为操作成功,不走error函数,求助怎么配置能让struts2的错误状态码为500
2014年11月20日 02点11分
1
level 7
starlee2008
firebug调试嘛
2014年11月20日 03点11分
2
laden666666
还真是 因为配置了<constant name="struts.devMode" value="true" /> 所以返回的是200 。3q
2014年11月20日 03点11分
1