转自:http://hi.baidu.com/bareearthling/blog/item/a8ac8981e9371adfbc3e1e3c.html
该异常是struts加入验证时配置里面没有写上input属性,
因为验证出错的话会跳回input指向的页面
如下红色部分:
<action path="/customerRegeditAction" name="customerRegActionForm"
type="org.springframework.web.struts.DelegatingActionProxy"
cancellable="true" validate="true" input="/customer/login.jsp">
<forward name="loginCancle" path="/index.jsp"></forward>
<forward name="sucess" path="/customer/index_login.jsp"></forward>
<forward name="fail" path="/index.jsp"></forward>
<forward name="hadRegedit" path="/customer/customer_reg.jsp"></forward>
就会报这个异常