Title: RE: reference input page from inside action?

Ted,

How is that different from
mapping.findForward(mapping.getInput());

We are using mapping.findForward() in all cases (that a struts-config mapping exists).

> -----Original Message-----
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 08, 2001 2:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: reference input page from inside action?
>
>
>         return (new ActionForward(mapping.getInput()));
>
> Seth Ladd wrote:
> >
> > Hello,
> >
> > Is it possible to reference and forward to the input page
> of an action from
> > within the action?  It seems as if I have to make an
> explicit forward
> > mapping for input for each action.  Sometimes, I need to do
> extra state
> > checking inside action, and if that fails, to forward back
> to input.  The
> > explicit forward mapping is fine, but it would seem more
> simple if "input"
> > was a default mapping.
> >
> > Any tips or pointers would be much appreciated!
> >
> > Thanks,
> > Seth
>
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Custom Software ~ Technical Services.
> -- Tel 716 737-3463.
> -- http://www.husted.com/about/struts/
>

Reply via email to