Stocker des attributs public class Caddie extends HttpServlet {
{"Image DocumentName": "Stocker des attributs public class Caddie extends HttpServlet {", "Image ImageDescription": "public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // R\u00e9cup\u00e8re la session. HttpSession session = request.getSession(true); // L\u2019\u00e2ge de l\u2019utilisateur est dans la requ\u00eate. // (issue d\u2019un formulaire) int age = Integer.parseInt(request.getParameter( age_user )); // Conserve l\u2019information dans la session. session.setAttribute( age ,new Integer(age)); }", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}