Cookie display in a JSP page : Cookie « JSP « Java

Cookie display in a JSP page

<%@ taglib uri="" prefix="c" %>

<head><title>Cookie display</title></head>
<h2>Here are all the Available Cookies</h2>

<c:forEach var="cookies" items="${cookie}">

    <strong><c:out value=
        "${cookies.key}"/></strong>: Object=<c:out value="${cookies.value}"/>, value=<c:out value="${cookies.value.value}"/><br />



Related examples in the same category

1.JSP Create and List Cookie
2.JSP List All Cookie
3.Setting a Cookie
4.Setting and Reading Cookies
5.Deal with the cookie
6.JSP: deal with cookie