package WEB-INF.classes.wenrgise.hrms.webtier.action; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import wenrgise.common.exception.EnrgiseApplicationException; import wenrgise.common.exception.EnrgiseSystemException; import wenrgise.hrms.businessdelegate.HrmTrngCalCloseBD; import wenrgise.hrms.webtier.action.BaseAction; import wenrgise.hrms.webtier.form.HrmTrngCalCloseForm; public class HrmTrngCalCloseCalCloseAction extends BaseAction { public ActionForward executeImpl(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws EnrgiseApplicationException, EnrgiseSystemException, IllegalAccessException, InvocationTargetException, InstantiationException, ClassNotFoundException, ServletException, IOException { HrmTrngCalCloseBD oBd = new HrmTrngCalCloseBD(); HrmTrngCalCloseForm oForm = (HrmTrngCalCloseForm)form; oBd.calClose(oForm.getButtonName(), oForm.getCalDtlId()); throw new EnrgiseApplicationException("wenrgise.common.datasaved", "M"); } }