1. I need to use session for this one. 2. The textfield in the JSP didn't load the value from the bean. It is a normal textfield.
How do I reset in my case? On Thu, 2004-08-26 at 16:07, Yves Sy wrote: > I mean your "actionform" is stored in session scope by default :) > > Regards, > -Yves- > > > -----Original Message----- > > From: Yves Sy [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 26, 2004 4:02 PM > > To: 'Struts Users Mailing List' > > Subject: RE: how to reset form > > > > > > This is happening because your session is stored in session scope by > > default. > > > > You should explicitly specify scope="request" in your actionmapping. > > > > Regards, > > -Yves- > > > > > -----Original Message----- > > > From: Sebastian Ho [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, August 26, 2004 3:33 PM > > > To: Struts Users Mailing List > > > Subject: how to reset form > > > > > > hi > > > > > > A user submits a form and the action class forward it back to the > same > > > JSP. The values entered previously is still there. How do I clear it > > > before action returns actionforward? > > > > > > Thanks > > > > > > Sebastian Ho > > > > > > > > > > --------------------------------------------------------------------- > > > 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] > > > --------------------------------------------------------------------- > 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]