Hello all...
I'd like to know if this is possible, and if so how:
- A user submits a form
- The request hits the appropriate action (ActionA), and when the action
gets to return (mapping.findForward(forwardName));, the forwardName
forward maps to another action, say:
...
forward
You could attach the form to the request in Action A and retrieve in in
Action B.
Action A: request.setAttribute( ActionAForm, theFormForActionA );
Action B: ActionAForm theForm = (ActionAForm)request.getAttribute(
ActionAForm );
Would that work for you?
Dave Derry
- Original Message
Mailing List
Subject: Re: Accessing another action's form from within an action?
You could attach the form to the request in Action A and retrieve in in
Action B.
Action A: request.setAttribute( ActionAForm, theFormForActionA );
Action B: ActionAForm theForm = (ActionAForm)request.getAttribute
3 matches
Mail list logo