我的代码中return SUCCESS;struts.xml中<result name="success" type="redirect">SearchAction_init.do</result>
没有问题但我改成return NONE;struts.xml中<result name="none" type="redirect">SearchAction_init.do</result>
则显示的是空白页面我的Action都有配置拦截器,只是验证用户是否登陆,是什么原因呢?struts2中Action.NONE是不是不可以随便用,还是拦截器会拦截NONE?
新手
没有问题但我改成return NONE;struts.xml中<result name="none" type="redirect">SearchAction_init.do</result>
则显示的是空白页面我的Action都有配置拦截器,只是验证用户是否登陆,是什么原因呢?struts2中Action.NONE是不是不可以随便用,还是拦截器会拦截NONE?
新手
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货