RE: reference input page from inside action?

2001-06-08 Thread Steve Salkin
Title: RE: reference input page from inside action? Ted Husted wrote: > Does that work? No. > getInput() returns a path and findForward() expects a logical name. Yes.   > input isn't an ActionForward, it's a property of the ActionMapping > itself (that can b

Re: reference input page from inside action?

2001-06-08 Thread Oleg V Alexeev
Hello Seth, For example - return new ActionForward( mapping.getInput() ); if input attribute is defined for this action. Friday, June 08, 2001, 9:50:25 PM, you wrote: SL> Hello, SL> Is it possible to reference and forward to the input page of an action from SL> within the action?

Re: reference input page from inside action?

2001-06-08 Thread Ted Husted
Does that work? getInput() returns a path and findForward() expects a logical name. input isn't an ActionForward, it's a property of the ActionMapping itself (that can be used to construct an ActionForward). Steve Salkin wrote: > How is that different from > mapping.findForward(mapping.getInput

RE: reference input page from inside action?

2001-06-08 Thread Steve Salkin
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 PRO

RE: reference input page from inside action?

2001-06-08 Thread Seth Ladd
> return (new ActionForward(mapping.getInput())); excellent, thank you very much! Seth

Re: reference input page from inside action?

2001-06-08 Thread Ted Husted
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