this is the things i need from session

<c:if test="${pageContext.request.isUserInRole('ROLE_ADMIN')}">
	1=${pageContext.request.userPrincipal.principal.username}<br>
	2=${pageContext.request.localAddr}<br>
	3=${pageContext.request.requestURL}<br>
	4=${pageContext.request.userPrincipal.name}
</c:if>

Leave a Reply

Your email address will not be published. Required fields are marked *