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?
views:
118answers:
1
+3
A:
It's
${pageContext.request.remoteUser}
To learn more about implicit EL objects like PageContext
, have a look here.
BalusC
2010-04-07 22:22:27