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