I want to compile a file(ConfirmationAction.java) as below but I get an error,
would you mind helping to solve the problem?
thanks a lot.
___________ConfirmationAction.java_____________
package j2eebook.fasle6;
import org.apache.struts.action.*;
import javax.servlet.http.*;
public class ConfirmationAction extends Action{
public ActionForward execute(ActionMapping mapping,ActionForm form,
HttpServletRequest request,HttpServletResponse response){
if(isCanceled(request)){
return mapping.findForward("editing.again");
}else{
RegistrationActionForm regForm=(RegistrationActionForm) form;
//insert in DB
}
return mapping.findForward("register.success");
}
}
___________error in compiling___________________
ConfirmationAction.java:13: cannot find symbol
symbol : method isCanceled()
location: class j2eebook.fasle6.ConfirmationAction
if(isCanceled()){
^
1 error