This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "cookie name using EL" Watch "cookie name using EL" New topic
Author

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

<%
...
cookies[i].getName();
%>
Nitish Bahadur
Ranch Hand

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

Joined: Dec 14, 2004
Posts: 25
I just tried this it worked
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cookie name using EL
 
Similar Threads
Cookie Display in a jsp
Writing Cookies
How to attach/Detach cookies?
access AppResource.properties in JSP
passing beans..