protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        response.setCharacterEncoding("UTF-8");
        response.setContentType("text/html;charset=utf-8");

        String method = Util.nullToString(request.getParameter("method"));
        if("viewAllCYs".equalsIgnoreCase(method)){//for view all admin user page
            doViewAllCYs(request, response);
        }else if("editCY".equalsIgnoreCase(method)) {//for view special user page
            doEditCY(request, response, false);
        }else if("editCY".equalsIgnoreCase(method)){//for edit special user page
            doEditCY(request, response, true);
        }else if("updateCY".equalsIgnoreCase(method)) { //for update special user page
            doUpdateCY(request, response);
        }else if("addCY".equalsIgnoreCase(method)) {//for add user page
            doAddCY(request, response);
        }else if("saveCY".equalsIgnoreCase(method)) {//for add user page
            doSaveCY(request, response);
        }else if("delCY".equalsIgnoreCase(method)) {//for add user page
            doDelCY(request, response);
        }else{
            doViewAllCYs(request, response);
        }

    }