tags:

views:

118

answers:

1

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?

+3  A: 

It's

${pageContext.request.remoteUser}

To learn more about implicit EL objects like PageContext, have a look here.

BalusC