SSH整合报错:No result defined for action and result input

目前发现这个问题主要是在Action中的execute返回值时,没有对应的result name而引起的。很有可能是由于程序执行中出错了,但是对 应的Action中没有添加 input的result name的导致的。尝试的解决方案是在发生的错误的Action上添加 

<result name=”input”>/error.jsp</result> 

当然,这个error.jsp是用来显示错误的,若想查看具体的错误信息,可以在error.jsp中添加 

<div style=”color:red”> 

<s:fielderror/> 

</div>

原文地址:https://www.cnblogs.com/dirgo/p/5275735.html