private void doEditUser(HttpServletRequest request, HttpServletResponse response,boolean isEditUser) throws ServletException, IOException {
           String userId = StringUtil.toString(request.getParameter("userId"));

            if(!StringUtil.isEmpty(userId)) {
                User user = null;
                try {
                    user = manager.findUserByColumnName(userId,"id");
                    if(user != null) {
                        request.setAttribute("isEdit",isEditUser);
                        request.setAttribute("currentUserObj",user);
                        request.getRequestDispatcher("/admin/user/viewUser.jsp").forward(request,response);
                        return;
                    }
                } catch (SQLException e) {
                   logger.error("查看用户失败",e);
                    request.getRequestDispatcher("/admin/error.jsp").forward(request,response);
                    return;
                }

            }

    }