JSTL has a set of pre-defined objects such as pageScope, requestScope, param, paramValues and cookie.
If you have a cookie named ‘myCookie’, you can obtain its value as follows:
<c:out value="${cookie.myCookie.value}"/>
JSTL has a set of pre-defined objects such as pageScope, requestScope, param, paramValues and cookie.
If you have a cookie named ‘myCookie’, you can obtain its value as follows:
<c:out value="${cookie.myCookie.value}"/>
Get free blog up and running in minutes with Blogsome
Theme designed by Sadish Balasubramanian