tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper Mapper.java
Date Wed, 21 May 2003 17:45:18 GMT
remm        2003/05/21 10:45:18

  Modified:    util/java/org/apache/tomcat/util/http/mapper Mapper.java
  Log:
  - Remove the mapping hack for context mapping.
  
  Revision  Changes    Path
  1.21      +2 -2      jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java
  
  Index: Mapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- Mapper.java	19 May 2003 21:48:39 -0000	1.20
  +++ Mapper.java	21 May 2003 17:45:18 -0000	1.21
  @@ -219,9 +219,9 @@
        * @param welcomeResources Welcome files defined for this context
        * @param resources Static resources of the context
        */
  -    public void setContext(String[] welcomeResources, 
  +    public void setContext(String path, String[] welcomeResources, 
                              javax.naming.Context resources) {
  -        context.name = "";
  +        context.name = path;
           context.welcomeResources = welcomeResources;
           context.resources = resources;
       }
  
  
  

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


Mime
View raw message