虚拟路径:
在web上访问的路径
部署在web上用于访问的路径
虚拟路径:
部署在服务器上的访问路径
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName()
虚拟路径:
在web上访问的路径
部署在web上用于访问的路径
虚拟路径:
部署在服务器上的访问路径
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName()