tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Léa Massiot <>
Subject Re: Tomcat6 - Context - aliases
Date Mon, 02 Apr 2012 15:14:54 GMT

Pid * wrote
> Either they did not, or they selected an alternative based on their
> use-case.
I'm sure they did. You'll see below, my requirements are basic.

Pid * wrote
> What is your exact requirement? 
- Users upload files to the server running Tomcat.
- The Webapp stores these file on the hard disk in some directory which has
nothing to do neither with the Webapp nor with the Tomcat engine. Let's name
it "d1".
- I needed an alias for the directory "d1" to refer to it from inside the
  I created a "META-INF/context.xml":

  <?xml version='1.0' encoding='UTF-8'?>
  <Context aliases=&quot;/&lt;an_alias_1>=<d1>">

Of course, it works as expected with "Tomcat7".

I "just" want to do something equivalent which works with "Tomcat6".

Thank you for helping me and best regards.

View this message in context:
Sent from the Tomcat - User mailing list archive at

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

View raw message