Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

JSP: How to set root path to include JSP file in HTML

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