public class MyAction extends Action { public static boolean existsFlag = false; public ActionForward execute(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { int a=10; if(a==10) { existsFlag = true; // is this ok to use } return mapping.findForward("successDisplayForm"); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)