struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohd Amin Mohd Din" <am...@nc.com.my>
Subject RE: Ensuring a clean Form
Date Wed, 24 Sep 2003 09:20:06 GMT
Yes.

-----Original Message-----
From: Linus Nikander [mailto:linus@nikander.net] 
Sent: Wednesday, September 24, 2003 4:42 PM
To: struts-user@jakarta.apache.org
Subject: Ensuring a clean Form

How do I ensure that each invocation of a particular action receives a
"clean" form. I.e a form where no values from any previous invocation
are
present.

I remember reading somewhere that under certain conditions "old" values
from
one invocation could, because struts reuses form instances, be present
in a
later invocation.

Is this true or have i misunderstood something ? I also remember reading
something about a reset() method for the ActionForm. Is this the method
one
should use to reset all values ? When exactly is the reset() method
called
in that case ?

//Linus Nikander linus @nikander.net




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message