pageContext.request.contextPath

${pageContext.request.contextPath}是JSP取得绝对路径的方法,等价于<%=request.getContextPath()%> 。

也就是取出部署的应用程序名或者是当前的项目名称

猜你喜欢

转载自blog.csdn.net/qq_27435059/article/details/79186302
今日推荐