Aaah, so that is what the attribute is for. I did wonder why the form name appeared twice (using MyEclipseIDE).
Thanks, Tim > -----Original Message----- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: 01 June 2004 17:13 > To: Struts Users Mailing List > Subject: Re: Removing form bean from where ever it is saved > > > Sounds like a better approach for you is to put your form in request scope. > Try something like: > > <action path=/mySubmitPath" > scope="request" > ...> > > 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" > attribute. > > Hubert > > --- Tim Penhey <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > __________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]