获取客户端真实ip
摘要:
public static String getIpAddr(HttpServletRequest request) { String ip = request.getHeader("x-forwarded-for"); if (ip == null || ip.length() == 0 || " 阅读全文
posted @ 2014-08-19 15:14 摩箜贼 阅读(215) 评论(1) 推荐(0) 编辑