Hi Sabastian,

I came across the same problem when I first started using Struts. The easies way to fix it is to set the scope of the bean in the action mapping to request.



*************************************
Ruben Cepeda
[EMAIL PROTECTED]
*************************************





----Original Message Follows----
From: Sebastian Ho <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: how to reset form
Date: 26 Aug 2004 15:33:17 +0800

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]

_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to