标签:
1、获取登陆用户
public static User getUser(HttpServletRequest request) { Object obj = request.getSession().getAttribute("LOGON"); return obj == null ? null : (User) obj; }
JAVA
原文地址:http://www.cnblogs.com/Defry/p/4548351.html