Index: JspInterceptor.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/facade22/org/apache/tomcat/facade/JspInterceptor.java,v
retrieving revision 1.33
diff -c -r1.33 JspInterceptor.java
*** JspInterceptor.java	30 Nov 2001 04:37:12 -0000	1.33
--- JspInterceptor.java	9 Jan 2002 06:30:04 -0000
***************
*** 602,607 ****
--- 602,617 ----
  			       ctx.getAbsolutePath(),
  			       jspFile );
  
+ 
+             // If unsafe path or JSP file doesn't exist, return "not found"
+             // Avoids creating work directories for non-existent JSP files
+             String path=mangler.getJspFilePath();
+             if( path == null )
+                 return 404;
+             File f = new File( path );
+             if( !f.exists() )
+                 return 404;
+ 
  	    // register the handler as dependend of the jspfile 
  	    if( dep==null ) {
  		dep=setDependency( ctx, mangler, handler );
***************
*** 613,628 ****
  		if( ! dep.isExpired() )
  		    return 0;
  	    }
- 
-             // If unsafe path or JSP file doesn't exist, return "not found"
-             // Avoids creating work directories for non-existent JSP files
-             String path=mangler.getJspFilePath();
-             if( path == null )
-                 return 404;
-             File f = new File( path );
-             if( !f.exists() )
-                 return 404;
- 
  	    //	    if( debug > 3) 
  	    ctx.log( "Compiling: " + jspFile + " to " +
  		     mangler.getServletClassName());
--- 623,628 ----

