Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: virtual directory in tomcat

Dov Rosenberg

2003-10-05

Replies:

Instead of using relative paths in your application, use absolute paths ,
i.e. http://media.company.com/images/....

What force Tomcat to serve your application and images, let Apache do the
image serving, makes your application loads more scalable.

Dov Rosenberg



On 10/5/03 2:26 AM, "abhivarsha@(protected):

>
>
>
> Hello guys,
>
> Can anybody advise me on this...is it possible to create a virtual
> directory in Tomcat which points to a directory on a different
> machine? ... something similar to what IIS does?
> I need to store lots of images for my website and am hence using a
> separate machine with lot of space in it. I will tomcat to point to that
> directory on the other machine.
> Any suggestions?
>
> -Abby
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.