This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cookie name using EL

 
sangeeta kapoor
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
${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
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<c:forEach var="aCookie" items="${cookie}">
aCookie.key = ${aCookie.key} <br/>
</c:forEach>
 
sundar katluri
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just tried this it worked
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic