struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Mangalagiri" <ravi.mangalag...@gmail.com>
Subject Redirect Action Result - Need directions to configure my app to use ActionMapper
Date Thu, 01 Mar 2007 15:30:02 GMT
<package name="queryReports" extends="struts-default"
namespace="/queryReport/ajax">
     <action name="auditLogQueryReport" class="
com.xyz.customersolutions.ess.webapp.action.common.BaseAction ">
          <result name="success" type="redirect-action">
               <param name="actionName">runReportReport!show</param>
               <param name="namespace">/queryReport/ajax</param>
               <param name="queryReportBeanName">auditLogQueryReport</param>
          </result>
     </action>

     <action name="runReportReport" class="
com.xyz.customersolutions.ess.webapp.action.queryreport.QueryReportAction">
          <result name="success">/pages/ajax/query.jsp</result>
     </action>
</package>

When I call <s:action namespace="/queryReport/ajax"
name="auditLogQueryReport" executeResult="true" />, I get the following
error

WARNING 03/01/2007 08:51:50 AM [OgnlUtil.internalSetProperty ()] Caught
OgnlException while setting property 'queryReportBeanName' on type '
org.apache.struts2.dispatcher.ServletActionRedirectResult'.
SEVERE  03/01/2007 08:51:50 AM [ ActionComponent.executeAction()] Could not
execute action: /queryReport/ajax/auditLogQueryReport

Please need guidance to use ActionMapper to make the above action work.

Thanks
Ravi

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message