| 1 | <% Cookie[] cookies = request.getCookies(); %> |
| 2 | |
| 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> |