tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper JspC.java
Date Wed, 12 Jun 2002 23:20:15 GMT
costin      2002/06/12 16:20:15

  Modified:    jasper2/src/share/org/apache/jasper JspC.java
  Log:
  A bit more verbose error message, from some reasons the stack trace
  never shows up and is hard to guess what's going on.
  
  BTW, it seems the classes are compiled automatically - that's a change
  in behavior.
  
  Revision  Changes    Path
  1.7       +5 -4      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JspC.java	2 Jun 2002 21:40:22 -0000	1.6
  +++ JspC.java	12 Jun 2002 23:20:15 -0000	1.7
  @@ -470,7 +470,8 @@
               }
               return true;
           } catch (JasperException je) {
  -            //je.printStackTrace(log);
  +            System.out.println("Error compiling " + file );
  +            je.printStackTrace();
               Constants.message("jspc.error.jasperException", 
                       new Object[] {file, je}, Logger.ERROR);
               if (dieLevel != NO_DIE_LEVEL) {
  
  
  

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