> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 6 and images
>
> How can I fit the images into this beacuse I don't quite follow.

Do what Filip suggested; create a <Context> element in 
conf/Catalina/localhost/images.xml with this value:

<Context docBase="/absolute/path/to/images"/>

This creates another webapp named "images" (specified by the name of the .xml 
file) located outside of Tomcat's directory tree.  Point your static content 
URLs to /images/[filename.type] to have Tomcat's DefaultServlet deliver them.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to