获取项目名称的方法,例如:/hbnAndstruts
1、<%=this.getServletContext().getContextPath() %>
2、${pageContext.request.contextPath }
转载于:https://www.cnblogs.com/mycheetah/archive/2012/12/23/2829924.html
获取项目名称的方法,例如:/hbnAndstruts
1、<%=this.getServletContext().getContextPath() %>
2、${pageContext.request.contextPath }
转载于:https://www.cnblogs.com/mycheetah/archive/2012/12/23/2829924.html