File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes cookie name using EL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "cookie name using EL" Watch "cookie name using EL" New topic

cookie name using EL

sangeeta kapoor
Ranch Hand

Joined: Jun 15, 2004
Posts: 70
${cookie.userName.value} can be used to get the value of userName cookie without using scripting.
But how can I get the cookie names using EL.
Something similar to following in scripting

Nitish Bahadur
Ranch Hand

Joined: Aug 25, 2003
Posts: 118
<c:forEach var="aCookie" items="${cookie}">
aCookie.key = ${aCookie.key} <br/>
sundar katluri

Joined: Dec 14, 2004
Posts: 25
I just tried this it worked
I agree. Here's the link:
subject: cookie name using EL
It's not a secret anymore!