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.
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
return (new ActionForward(mapping.getInput()));
excellent, thank you very much!
Seth
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
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
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?
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 be used to construct
7 matches
Mail list logo