{PageContext.request.contextPath}
PageContext : JS의 내장객체 implicit Object.
PageContext provides access to various objects including:
servletContext: ...
session: ...
request: ...
response: ...
When
href="${pageContext.request.contextPath}/thisJSP.jsp
is equals to
http://myhost.com/myWebApp/thisJSP.jsp,
the context path will be myWebApp.
Thus, the link href generated will be /myWebApp/JSPAddress.jsp.
EmoticonEmoticon