You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2001/08/03 04:50:20 UTC
cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers SimpleMapper1.java
costin 01/08/02 19:50:20
Modified: src/share/org/apache/tomcat/modules/mappers
SimpleMapper1.java
Log:
Ignore special containers ( that are not servlet mappings ).
Revision Changes Path
1.8 +4 -0 jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/SimpleMapper1.java
Index: SimpleMapper1.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/SimpleMapper1.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- SimpleMapper1.java 2001/07/17 14:02:33 1.7
+++ SimpleMapper1.java 2001/08/03 02:50:20 1.8
@@ -182,6 +182,10 @@
String path=ct.getPath();
String ctxP=ctx.getPath();
+ // Special containers ( the default is url-mapping ).
+ if( ct.isSpecial() ) return;
+ if( ct.getNote( "type" ) != null ) return;
+
if(ct.getRoles() != null || ct.getTransport() != null ) {
// it was only a security map, no handler defined
return;