logo资料库

jsp\No result defined for action and result input.doc

第1页 / 共1页
资料共1页,全文预览结束
No result defined for action and result input 这是 struts2 的一个拦截器报的错误,当你的 form 中的数据有问题,比如说 当 name 值为 NULL 时,就出这个错了,所以你可以在当前页面加入以下标签
它就会显示拦截器的错误,并在 struts 的 XML 中对应 action 里加如 /AddProducts.jsp 让他把错误返回到该页面就可以了
分享到:
收藏