u.setLogin(request.getParameter("login"));
u.setPassword(request.getParameter("password"));
u.setName(request.getParameter("name"));
u.setSurname(request.getParameter("surname"));
u.setEmail(request.getParameter("email"));
dao.modifyUser(u);
request.getRequestDispatcher("redirect.jsp").forward(request, response);
}
}
}