Reputation: 22348
I'm using <%=request.getRemoteUser()%>
to retrieve the logged on user's ID within Tomcat. What would be the equivalent using JSP Simple Expression Language?
Upvotes: 3
Views: 5547
Reputation: 1108742
It's
${pageContext.request.remoteUser}
To learn more about implicit EL objects like PageContext
, have a look here.
Upvotes: 9