出现原因:没有为/registe 设置input属性
解决办法: 在struts-config.xml文件的<action path="/registe">设置其input属性,
例如:
<action path="/registe.jsp" name="registeForm" type="com.yourcompany.struts.action.RegisteAction" >
<set-property property="cancellable" value="true" />
<forward name="s" path="/success.jsp"></forward>
</action>
注: <!-- input表示当前端出现错误,要跳转到的页面 -->