JSP中取得 Web项目名的方法:
方法一:
<%=request.getContextPath%>
方法二:
${pageContext.request.contextPath}
推荐使用方法二.
JSP中取得 Web项目名的方法
阅读 21
2023-04-25
JSP中取得 Web项目名的方法:
方法一:
<%=request.getContextPath%>
方法二:
${pageContext.request.contextPath}
推荐使用方法二.
相关推荐
精彩评论(0)