tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Servlet mapping question -- way to include everythign EXCEPT a directory?
Date Thu, 01 Jul 2010 15:33:12 GMT
> From: laredotornado [mailto:laredotornado@gmail.com]
> Subject: Servlet mapping question -- way to include everythign EXCEPT a
> directory?
> 
> I don't know how to specify "not" in a mapping

That's because you can't specify a "not".  What you can do is specify what should handle /play/sports/includes/*
- such as the DefaultServlet or perhaps some error handler.  The servlet spec requires that
the container match against the longest pattern first, so the more specific will override
the more general.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


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


Mime
View raw message