我是靠谱客的博主 感动牛排,这篇文章主要介绍HTTP Status 500 - No input attribute for mapping path /registe,现在分享给大家,希望可以做个参考。
出现原因:没有为/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表示当前端出现错误,要跳转到的页面 -->
最后
以上就是感动牛排最近收集整理的关于HTTP Status 500 - No input attribute for mapping path /registe的全部内容,更多相关HTTP内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复