tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Will Hartung)
Subject Re: adding a virtual directory
Date Fri, 02 Aug 2002 23:36:43 GMT

> 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 a
> virtual folder from web.xml.  Is it possible?  I want everything with a
> certain URL pattern to request content from a folder that is not in the
> 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 the
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, not
the Webapp, per se), or moving the content into your Webapp.

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


Will Hartung

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

View raw message