On 09/03/2011 16:02, André Warnier wrote:
> Now from the train..
> 
> When you request a URL such as this from Tomcat :
> 
> (http://hostname)/ABC/DEF/hij.jsp
> 
> Tomcat uses the first component of the path (/ABC) as mapping for the
> "web application".
> It then passes the request to the application "ABC".

Not strictly correct.

Tomcat compares the URL to the list of context paths and the longest
match wins.

In the example above the context path may be any of the following:
/
/ABC
/ABC/DEF
you simply can't tell from looking at the URL. You have to know what
context paths are currently configured.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to