FreeKB - Java Programming JSTL Session ID
Java Programming - JSTL Session ID

The following markup can be used to display the Session ID.

<c:out value="${}"/>


The following choose / when / otherwise statement can be used to do something based on whether or not there is a session ID.

    <c:when test="${not empty}">
        Your session ID number is <c:out value="${}"/>
        Sorry. There is no session ID.


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 6cb87 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |