struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <>
Subject Re: Removing form bean from where ever it is saved
Date Tue, 01 Jun 2004 16:12:58 GMT
Sounds like a better approach for you is to put your form in request scope. 
Try something like:

<action path=/mySubmitPath" 

In any case, the attribute name is usually the same as the bean name,
although an action mapping can change this by using the "attribute"


--- Tim Penhey <> wrote:
> Hi All,
> I am trying to test some validation that I have set up for one of my
> actions.
> I am using the org.apache.struts.validator.DynaValidatorForm with a couple
> of Strings and
> an Integer.  However in my test to check the required validation, it
> appears to be
> grabbing an existing form from some scope (almost certainly session) and
> only updating the
> parameters that I have passed in.
> How can I remove the form from scope after the action has finished with it?
>  I don't know
> that key that it is being stored against, is this defined somewhere?
> Thanks,
> Tim
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message