repositories
/
TD_webapps.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add a README.
[TD_webapps.git]
/
ROOT
/
exo7
/
viewcookie.jsp
1
<% Cookie[] cookies = request.getCookies(); %>
2
<meta charset="UTF-8">
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>