cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon Utils.java
Date Fri, 12 May 2000 12:39:46 GMT
stefano     00/05/12 05:39:46

  Modified:    src/org/apache/cocoon Utils.java
  Log:
  removed context.getRealPath since broken in JServ (I hate this shit)
  
  Revision  Changes    Path
  1.15      +3 -3      xml-cocoon/src/org/apache/cocoon/Utils.java
  
  Index: Utils.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Utils.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Utils.java	2000/05/06 11:13:00	1.14
  +++ Utils.java	2000/05/12 12:39:46	1.15
  @@ -1,4 +1,4 @@
  -/*-- $Id: Utils.java,v 1.14 2000/05/06 11:13:00 stefano Exp $ --
  +/*-- $Id: Utils.java,v 1.15 2000/05/12 12:39:46 stefano Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -61,7 +61,7 @@
    * Utility methods for Cocoon and its classes.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version $Revision: 1.14 $ $Date: 2000/05/06 11:13:00 $
  + * @version $Revision: 1.15 $ $Date: 2000/05/12 12:39:46 $
    */
   
   public final class Utils {
  @@ -323,7 +323,7 @@
           if (location.indexOf("://") < 0) {
               if (location.charAt(0) == '/') {
                   // Location is relative to webserver's root
  -                location = context.getRealPath(location);
  +                location = request.getRealPath(location);
               } else {
                   // Location is relative to requested page's virtual directory
                   String basename = getBasename(request, context);
  
  
  

Mime
View raw message