tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rutledge, Aaron" <>
Subject RE: adding a virtual directory
Date Fri, 02 Aug 2002 23:30:51 GMT
Thanks!  Very informative.

-----Original Message-----
From: Will Hartung []
Sent: Friday, August 02, 2002 5:37 PM
To: Tomcat Users List
Subject: Re: adding a virtual directory

> From: "Rutledge, Aaron" <>
> Sent: Friday, August 02, 2002 3:04 PM

> The goal is to get that mapped drive into the context of my web-app.
> Regardless of wether the folder is on or off the server--how do I map
> virtual folder from web.xml.  Is it possible?  I want everything with
> certain URL pattern to request content from a folder that is not in
> usual place.  Thanks!  Aaron

The problem is that the basic element in the system is the Webapp, and
they're essentially a self-contained entity, so the web.xml wouldn't be
place to do this kind of thing as its not something a Webapp would do.

So, I think you're stuck tweaking server.xml (which configure Tomcat,
the Webapp, per se), or moving the content into your Webapp.

Of course, moving it all into your Webapp would make it portable outside
Tomcat, whereas tweaking server.xml may not be portable to another
(don't know whether that's important to you or not).


Will Hartung

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message