tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler JspRuntimeContext.java
Date Fri, 20 Sep 2002 23:04:12 GMT
glenn       2002/09/20 16:04:12

  Modified:    jasper2/src/share/org/apache/jasper/compiler Tag:
                        tomcat_4_branch JspRuntimeContext.java
  Log:
  Oops, change more than I meant to.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.2   +5 -5      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspRuntimeContext.java
  
  Index: JspRuntimeContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspRuntimeContext.java,v
  retrieving revision 1.4.2.1
  retrieving revision 1.4.2.2
  diff -u -r1.4.2.1 -r1.4.2.2
  --- JspRuntimeContext.java	20 Sep 2002 17:46:27 -0000	1.4.2.1
  +++ JspRuntimeContext.java	20 Sep 2002 23:04:12 -0000	1.4.2.2
  @@ -369,7 +369,7 @@
           if( policy != null ) {
               try {          
                   // Get the permissions for the web app context
  -                String contextDir = options.getScratchDir().toString();
  +                String contextDir = context.getRealPath("/");
                   if( contextDir == null ) {
                       contextDir = options.getScratchDir().toString();
                   }
  
  
  

--
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