标签:
String scheme = request.getScheme(); String serverName = request.getServerName(); int port = request.getServerPort(); String path = request.getContextPath(); String basePath = scheme + "://" + serverName + ":" + port + path;
标签:
原文地址:http://www.cnblogs.com/dingyingsi/p/5592954.html