public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
	{
		Member member = Constants.doParma(req);
		System.out.println(member.getNewPassword() + " newPassword  " );
		String action = member.getAction();
		MemberService ms = new MemberService();
		
		if("确认修改".equals(action))
		{
		
			ms.alter(member);
			getServletContext()
				.getRequestDispatcher("/jsp/alter.jsp")
				.forward(req, resp);
				
		}
		else if("确认".equals(action))
		{	
			boolean alter = ms.alterPassword(member);
			System.out.println(alter);
			if(alter)
			{
				ms.parPersonal(member);
				getServletContext()
					.getRequestDispatcher("/jsp/alter.jsp")
					.forward(req, resp);
			}
			else
			{
				getServletContext()
					.getRequestDispatcher("/jsp/failed.jsp")
					.forward(req, resp);	
			}
		}
	}