> From: Ronald Rotteveel [mailto:[EMAIL PROTECTED] 
> I WOULD LOVE lose the name of the customer that I just inserted. 
> If I come back to the customer form now, the
> field where someone can type a name is already filled with 
> the name I just inserted. 

Sounds like your form bean is in session scope.  You may want to
implement the 'reset' method of ActionForm, as the default
implementation does nothing.  I have this in reset on one of my forms:



This is not good, I wanted to be empty aftert a successfull
> insert.
> 
> It seems like the form stays in session/request or whatever 
> scope, but I
> can't make it empty or null it.
> 
> Could somebody give me some pointers how to solve this? (e.g. 
> keywords to
> search on of maybe a link. I also have the Struts in Action 
> and Professional
> Jakarta Struts books, so page numbers are fine too ;-) )
> 
> Or is the only way to solve this via a success page between 
> the action and
> the form? I would like to avoid this, because somebody who 
> has to do a lot
> of data entry doesn't want a confirmation page after each entry.
> 
> I searched through this mail archive, but didn't find 
> anything usefull or
> maybe I'm searching on the wrong keywords!
> 
> Thanks in advance!
> 
> 
> Regards,
> 
> Ronald Rotteveel
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to