tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject cvs commit: jakarta-tomcat/src/facade22/org/apache/tomcat/facade JspInterceptor.java
Date Sat, 02 Jun 2001 21:35:01 GMT
nacho       01/06/02 14:35:01

  Modified:    src/facade22/org/apache/tomcat/facade JspInterceptor.java
  Log:
  Return a 404 error instead of stacktrace and a 500
  in case jsp file not present.
  
  Revision  Changes    Path
  1.24      +2 -0      jakarta-tomcat/src/facade22/org/apache/tomcat/facade/JspInterceptor.java
  
  Index: JspInterceptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/facade22/org/apache/tomcat/facade/JspInterceptor.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- JspInterceptor.java	2001/05/21 05:13:10	1.23
  +++ JspInterceptor.java	2001/06/02 21:35:01	1.24
  @@ -621,6 +621,8 @@
   	    
   		if(debug>0)log.log( "Generated " +
   				    mangler.getClassFileName() );
  +            } catch ( java.io.FileNotFoundException fnfex ){
  +		return 404;
   	    } catch( Exception ex ) {
   		if( ctx!=null )
   		    ctx.log("compile error: req="+req, ex);
  
  
  

Mime
View raw message