开发者

What is the JSP EL equivalent for request.getRemoteUser()?

I'm using <%=request.getRemoteUser()%> to retrieve the logged on user's ID within Tomcat. What would be the equivalent using开发者_Go百科 JSP Simple Expression Language?


It's

${pageContext.request.remoteUser}

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜