public void doPost(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		String user = request.getParameter("user");
		String psw = request.getParameter("psw");
		if(user!=null&&psw !=null){
			HttpSession session = request.getSession(true);
			session.setAttribute("admin", user);
			response.sendRedirect("/admin/adminindex.jsp");

		}
		else{
			response.sendRedirect("/admin/adminlogin.jsp");
		}

		
	}