protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		
		//󂯎f[^̕R[hUTF-8ɃZbg
		request.setCharacterEncoding("UTF-8");
		//p[^["uname"̒loAϐuserNameɑ
		String userName = request.getParameter("uname");
		//p[^["upass"̒loAϐuserPasswordɑ
		String userPassword = request.getParameter("upass");
		
		// HTMLꕶϊ
		userName = replaceInput(userName);
		userPassword = replaceInput(userPassword);
		
		//SELECT̍쐬
		String sql = "SELECT user_name FROM user_tb" +
					" WHERE login_name = '" + userName + "'" +
					" AND login_password = '" + userPassword + "'";
		
		//\[U[AOC̐錾
		String displayUserName = "";
		boolean login = false;
		
		//ڑ
		String database = "jdbc:postgresql://192.168.30.55/val00262db";
		String user = "val00262";
		String password = "val262db";
		
		//RlNV錾
		Connection connection = null;
		Statement statement = null;
		//ڑ{ݏ
		try {
			//JDBChCo̓o^
			Class.forName("org.postgresql.Driver").newInstance();
			//JDBCoRŃf[^x[X֐ڑ
			connection = DriverManager.getConnection(database, user, password);
			//SQLf[^x[X֑邽߂̃IuWFNg𐶐
			statement = connection.createStatement();
			
			//SELECT̎s
			ResultSet resultSet = statement.executeQuery(sql);
				
			//ʂ̎o
			while(resultSet.next()) {
				displayUserName = resultSet.getString("user_name");
				//OC
				login = true;
			}
		} catch (Exception e) {
			//ڑs
			login = false;
			log("ڑs:" + e);
		}
		
		//ؒf
		try {
			//f[^x[X̐ؒf
			if (statement != null) statement.close();
			if (connection != null) connection.close();
		} catch (Exception e) {
			//ؒfs
			log("ؒfs:" + e);
		}
		
		//ZbV̐
		HttpSession session = request.getSession();
		
		//ZbVIuWFNgloginZbg
		session.setAttribute("login", login);
		
		//ZbVIuWFNgdisplayUserNameZbg
		session.setAttribute("displayUserName", displayUserName);
		
		
		//ړ
		if(login){
			//OCFOC
			response.sendRedirect("Menu");
		}else{
			//OCsFOCʂ
			response.sendRedirect("login.html");
		}
		
	}