Sounds like you're expecting to do something with the form after after cancel is selected. If, from a user experience perspective, the cancel button is doing what it's supposed to, you shouldn't care what the form has in it since the user cancelled anyway.
I don't use the execute() method of Action at all and have implemented a separate abstract doCancel method in my base action, which cleans up any unecessary state, but this requires an extension of the struts/tiles request processor. On 6/16/06, deepali sharma <[EMAIL PROTECTED]> wrote:
Hi I am using html:cancel button before clicking on html:cancel button i am changing the values in the form. But I want so that If the user clicks on html:cancel the values should not be set to the form???? Is there any solution for this???? -- cheers.... deepali