当前位置: 代码迷 >> Java Web开发 >> No result defined for action,该如何处理
  详细解决方案

No result defined for action,该如何处理

热度:68   发布时间:2016-04-17 13:06:24.0
No result defined for action
Struts   报如下错误,一直没办法解决,哪位大侠碰到过如下错误吗?有何解决方法。

Struts   Problem   Report
Struts   has   detected   an   unhandled   exception:  

Messages:   No   result   defined   for   action   default.xt.gov.web.actions.email.EmailAction   and   result   input  
 
File:   file:/C:/tomcat5/webapps/gov/WEB-INF/classes/struts-emailManagement.xml  
Line   number:   17  
Column   number:   62  


--------------------------------------------

    </action>
   
<action   name= "allEmails "   class= "sendEmail "   method= "getAll ">
          <result> /emailManagement/getAllEmails.jsp </result>
</action>


------解决方案--------------------
<action path= "/orderQuery1 " type= "com.tc.bsc.OrderQueryAction "
name= "orderQueryForm1 " scope= "session " validate= "false ">
<forward name= "success " path= "/bsc/order_query.jsp " />
<forward name= "detail " path= "/bsc/order_query_detail.jsp " />
</action>

一般都是这么定义的
  相关解决方案