public void updatepre(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		String pages = "../../../errors.jsp";
		String adminid = request.getParameter("adminid");
		try {
			Map<String, Object> map = ServerFactory.getIServerDAOInstance()
					.findAdminUpdatePre(adminid);
			request.setAttribute("admin", map.get("admin"));
			request.setAttribute("admingroup", map.get("admingroup"));
			request.setAttribute("allgroup", map.get("allgroup"));
			pages = "admin_update.jsp";
		} catch (Exception e) {
			e.printStackTrace();
		}
		request.getRequestDispatcher(pages).forward(request, response);
	}