David Smith-2 wrote:
>
>
> No need to edit any *.xml files.
>
> Your webapp already knows what it's context path is when the request
> comes in. The expression I wrote is used in jsp pages to compose server
> absolute links to resources like jsps, html pages, images, javascript,
> css, etc.,
David Smith-2 wrote:
>
>
>
> ${pageContext.request.contextPath}/jsp/any.jsp
>
>
>
and do i need set the context path anywhere in some *.xml file, or it work
just right that as you've wrote?
--
View this message in context:
http://www.nabble.com/Path-tp20899470p20899908.html
Sent from the
hi, do you know how to set root of my webapp one directory further? For
example I have an application myapp in /opt/tomcat6/webapps/myapp/ and there
is an URL within my page like /jsp/any.jsp, i want it to address
http://host:port/myapp/jsp/any.jsp , NOT http://host:port/jsp/any.jsp , like
it does