On Fri, 28 Feb 2003 16:01:50 -0500 "Sri Sankaran" <[EMAIL PROTECTED]> wrote:
> > <action path="/setupMultipleForms" > > type="foo.bar.SetUpFormsAction" > > name="form1" > > scope="request" > > validate="false" > > > > > <forward > > name="continue" > > path="/severalFormsOnAPage.jsp"/> > > </action> > > > > So now in the SetUpFormsAction you can easily put Form1 into scope > > by: > > > > Form1 form1 = (Form1)form; > > form1.setFoo("hello"); > > request.setAttribute(mapping.getAttribute(), form1 ); > > Actually, unless you are going (back) to a page that contains a form > with action of "setupMultipleForms" you can't use this strategy. What strategy do you mean? The strategy of using request.setAttribute(mapping.getAttribute(), form1 ); ? I thought that is the way you 'should' set your ActionForm into request scope in your Action? Are you saying it should be done a different way? Thanks, -- Rick Reumann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]