struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <>
Subject RE: Disable Automatic Form Loading
Date Wed, 04 Jun 2003 12:09:16 GMT
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 []
Sent: Wednesday, 4 June 2003 20:00
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:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message