日期:2014-05-18  浏览次数:20642 次

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>

一般都是这么定义的