Commit | Line | Data |
---|---|---|
27e8c3cf | 1 | <% Cookie[] cookies = request.getCookies(); %> |
55d3b02b | 2 | <meta charset="UTF-8"> |
27e8c3cf JB |
3 | <html> |
4 | <body> | |
5 | Bonjour <br> | |
6 | <% | |
7 | for(int i = 0; i < cookies.length; i++) { | |
8 | Cookie c = cookies[i]; | |
9 | out.println(c.getName() + " = " + c.getValue() + " <br>"); | |
10 | } | |
11 | %> | |
12 | </body> | |
13 | </html> |