Code, jstlMay 9, 2007 12:12 pm
How To Get Session Values in JSTL
To get session values in JSTL, use the following piece of code:
<c:forEach items="${sessionScope}" var="par">
Session object name/value : <c:out value="${par.key} - ${par.value}"/>
</c:forEach>
To find out how to sort session or request parameters, visit http://www.ekcsoft.com/coding/java/jstl_parameters
JSTL Books on Amazon.com
The URI to TrackBack this entry is: http://jdev.blogsome.com/2007/05/09/how-to-get-session-values-in-jstl/trackback/
No comments yet.
RSS feed for comments on this post.
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>