Accessing another action's form from within an action?

2002-10-04 Thread Davide Bruzzone
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

Re: Accessing another action's form from within an action?

2002-10-04 Thread Dave Derry
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

RE: Accessing another action's form from within an action?

2002-10-04 Thread Davide Bruzzone
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