I use the following statements to access the root path in JSP:
request.getContextPath()
${pageContext.request.contextPath}
But I cannot use them to include JSP file from root path in HTML. For example:
<%@ include file="util/head.jsp"%>
How I can do it?
Comments
Post a Comment