标签:
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath() + request.getServletPath() + "?" + (request.getQueryString());
java获取地址全路径
原文地址:http://www.cnblogs.com/lichengzhang/p/4919939.html