Thanks, it worked

Manisha



   "Paul Benedict" <[EMAIL PROTECTED]> 
   Sent by: [EMAIL PROTECTED]
   07/26/2007 03:05 PM
   Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
"Struts Users Mailing List" <user@struts.apache.org>
cc

Subject
Re: Need to forward to Nothing






Do not be forwarding to null. Just return null.

On 7/26/07, Manisha M Sathe <[EMAIL PROTECTED]> wrote:
>
> Thanks to all, I tried that out. I am not getting any error but I am
> getting warning.
>
> My forward:
>
> return mapping.findForward(null);
>
> Warning on console:
>
> [Jul 26, 2007 13:48:52] [ExecuteThread: '14' for queue:
> 'weblogic.kernel.Default'] WARN [org.apache.struts.action.ActionMapping]
> - Unable to find 'null' forward.
>
> My entry as:
>
>         <action path="/reconRestart"
>                 type=
> "com.freddiemac.msof.fire.common.admin.ui.action.ReconRestartAction"
>                 name="processReconForm"
>                 validate="false"
>                 input="reconSummaryReport.page">
>         </action>
>
>
> Am I missing anything ? Any thoughts ?
>
> regards,
> Manisha
>
>
>
>
>    "Paul Benedict" <[EMAIL PROTECTED]>
>    Sent by: [EMAIL PROTECTED]
>    07/26/2007 01:05 PM
>    Please respond to
> "Struts Users Mailing List" <user@struts.apache.org>
>
>
> To
> "Struts Users Mailing List" <user@struts.apache.org>
> cc
>
> Subject
> Re: Need to forward to Nothing
>
>
>
>
>
>
> If you return null from an action in S1, that means you handled the
> response
> yourself -- no need for Struts to intervene. This has nothing to do with
> "killing the process" (bad news for your web container). Returning null 
is
> acceptable when sending a file for download, for example.
>
> Paul
>
> On 7/26/07, Asthana, Rahul <[EMAIL PROTECTED]> wrote:
> >
> > Forward to null has worked for me in struts 1.2.x.
> >
> >
> > -----Original Message-----
> > From: Manisha M Sathe [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, July 26, 2007 11:48 AM
> > To: user@struts.apache.org
> > Subject: Need to forward to Nothing
> >
> >
> > The action class does not forward to anything - it's like killing that
> > process if it comes to this action class. How can I specify that ?
> >
> > Thanks & regards
> > Manisha
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>

Reply via email to