tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Pound Signs in Context/Paths
Date Wed, 12 Oct 2011 15:43:30 GMT
On 12/10/2011 15:55, Richard W. Adams wrote:
> My Tomcat Version: 6.0.18.0 (running under Jboss)

That's old.

> I'm trying to understand the script we use to deploy to our Tomcat server. 
> =
> 
> The scripts uses pound signs (#) instead of slashes in the path to the WAR 
> =
> 
> file being deployed. Let me first be clear:  The script works. What I=20
> DON'T understand is why, or the purpose of the pound signs.  I tried=20
> searching the Web for documentation on the use of the pound signs, but=20
> came up dry.  I'm concerned that we might be using an undocumented feature 
> =
> 
> that could break in future versions of Tomcat.
> 
> Can anyone point me to official documentation about pound signs (#) in=20
> Tomcat paths/contexts?

 tomcat/webapps/myapp#is#here.war

is published as

 http://hostname/myapp/is/here
                ^^^^^^^^^^^^^^

where the highlighted part is the context path.

This is called mult-level paths:

  http://tomcat.apache.org/tomcat-6.0-doc/config/context.html



p


Mime
View raw message