So your use case is that the user enters stuff which is submitted to your
action. In the action you use that data, and now want to show the page for
the user to enter the next record so you dont want the last records values?

Ok. In this case Im guessing your simply forwarding back to the view (or
preferably the other action that comes before the view), so assuming your
using a request scoped actionform, you could change that forward to be a
redirecting forward. This will result in the original request going out of
scope and for the new request struts will provide you a clean action form
instance. If your using a session scoped form on the other hand then you
will want to manually remove/reset the one you have finished with from
inside your action before forwarding.

-----Original Message-----
From: Syed Kazim Hussain [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 June 2003 20:00
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Disable Automatic Form Loading


I mean, when I submit my Form, the next page populates the Fields
with values in ActionForm. I want to stop this. How is this possible.

---------------------------------------------------------------------
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