tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Problem with relative links when migrating a site to Tomcat
Date Tue, 13 May 2003 17:13:32 GMT

Howdy,

>links. All images and other links are related to the root directory on
the
>current site. Like: "/images/image.gif". So, it's looking for the
images

Another word for "related to the root directory" is "absolute" ;)  Your
links are not relative, they're absolute, in fact.

>directory in the root for Tomcat while I need it to check in the
>corresponding docBase directory in the context.
>
>Is there a way I can reconfigure this context in Tomcat or the only
>solution
>will be removing the front "/" everywhere in the html files?

You can configure this context to have a docBase of "" in server.xml.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message