File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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