Originally posted by Bear Bibeault:
Never use page-relative addressing in a web app.
See the JSP FAQ article on resource URLs for information on how to properly form URLs in a Java web app.
I have tried to use "server-relative" path as suggested by putting "/xyz" at the beginning of my links as my application is mapped to "/xyz" as the context path. HOWEVER , still to no avail.
<Host name="xyz.org.cn" appBase="/home/xyz/public_html">
<Alias>www.xyz.org.cn</Alias>
<Context path="/xyz" reloadable="true" docBase="/home/xyz/public_html" debug="1"/>
<Context path="/manager" debug="0" privileged="true"
docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
</Context>
</Host>