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}"/>