Why I am getting this error when I am clikcing the cancel button in the form.
I am using as follows:
Whether I have to configure action mapping for cancel button also. Struts don't have any in-built cancelling facility?
Error I am getting::
SCJP 1.4 (86%), SCWCD 1.4 (86%), SCBCD 1.3 (85%), SCDJWS (Just Started...) - Satisfaction Lies in Our EFFORT, Not in the ATTAINMENT
posted 8 years ago
In Struts versions 1.2.8 and above you must specify cancellable="true" in your action mapping to enable the cancel button. In a normal action, you can simply call isCancelled(request) in order to determine whether the cancel button was pressed or not. If your action is a subclass of DispatchAction you must code a cancelled method in the Action class.