tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lar...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/generators InvokerInterceptor.java
Date Wed, 07 Nov 2001 13:41:17 GMT
larryi      01/11/07 05:41:17

  Modified:    src/share/org/apache/tomcat/modules/generators
                        InvokerInterceptor.java
  Log:
  Since the prefix attribute was supported in Tomcat 3.2,  include it in
  Tomcat 3.3.  It is useful to those porting from Apache+JServ.
  
  Revision  Changes    Path
  1.2       +7 -0      jakarta-tomcat/src/share/org/apache/tomcat/modules/generators/InvokerInterceptor.java
  
  Index: InvokerInterceptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/generators/InvokerInterceptor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InvokerInterceptor.java	2001/01/01 02:01:30	1.1
  +++ InvokerInterceptor.java	2001/11/07 13:41:17	1.2
  @@ -76,6 +76,13 @@
       String prefix="/servlet/";
       int prefixLen=prefix.length();
   
  +    public void setPrefix(String prefix) {
  +        if( prefix != null ) {
  +            this.prefix = prefix;
  +            prefixLen=this.prefix.length();
  +        }
  +    }
  +
       public int requestMap(Request req) {
   	// If we have an explicit mapper - return
   	Container ct=req.getContainer();
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message