I am having an issue with the
struts (1.x) code when a cancel button is clicked. Here's the
java code with action methods:
And here's how all the methods are called from the
JSP (customerApproveType.jsp) and they all work fine when the Approve and Save buttons are clicked.
However, as soon as cancel button is clicked, I keep getting:
Why is it happening like this even though I have the following method in the code to handle cancel button related operations I believe?