jsp中获取项目名

来源:互联网 发布:hessenberg矩阵 编辑:程序博客网 时间:2024/04/29 16:18

在jsp页面中获取项目名
<%=this.getServletContext().getContextPath()%>

${pageContext.request.contextPath}

0 0
原创粉丝点击