2021年1月8日

关于${pageContext.request.contextPath}的理解

摘要: ${pageContext.request.contextPath}是JSP取得绝对路径的方法,等价于<%=request.getContextPath()%> 。 也就是取出部署的应用程序名或者是当前的项目名称 比如我的项目名称是demo1在浏览器中输入为http://localhost:8080 阅读全文

posted @ 2021-01-08 23:49 code-> 阅读(334) 评论(0) 推荐(0)

导航