tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pier...@locus.apache.org
Subject cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler ParserController.java
Date Thu, 05 Oct 2000 23:38:14 GMT
pierred     00/10/05 16:38:14

  Modified:    jasper/src/share/org/apache/jasper/compiler
                        ParserController.java
  Log:
  Display a context-relative path instead of absolute
  disk pathname when jsp resource is not found.
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/ParserController.java
  
  Index: ParserController.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/ParserController.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ParserController.java	2000/10/05 20:22:58	1.2
  +++ ParserController.java	2000/10/05 23:38:13	1.3
  @@ -414,7 +414,7 @@
   		String fileName = ctxt.getRealPath(file.toString());
   		in = ctxt.getResourceAsStream(file.toString());
   		if (in == null) {
  -		    throw new FileNotFoundException(fileName);
  +		    throw new FileNotFoundException(file.toString());
   		}
   		reader = new InputStreamReader(in, encoding);
   	    }
  
  
  

Mime
View raw message