You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2001/02/01 05:44:57 UTC

cvs commit: jakarta-tomcat/src/facade22/org/apache/tomcat/facade JspInterceptor.java

costin      01/01/31 20:44:57

  Modified:    src/facade22/org/apache/tomcat/facade JspInterceptor.java
  Log:
  Return error code if jsp compilation fails.
  
  Revision  Changes    Path
  1.11      +1 -1      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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- JspInterceptor.java	2001/01/29 07:08:37	1.10
  +++ JspInterceptor.java	2001/02/01 04:44:57	1.11
  @@ -539,7 +539,7 @@
   		handler.setErrorException(ex);
   		handler.setState(Handler.STATE_DISABLED);
   		// until the jsp cahnges, when it'll be enabled again
  -		return 0;
  +		return 500;
   	    }
   
   	    dep.setExpired( false );