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/servlet JspServlet.java
Date Fri, 31 Jan 2003 18:56:26 GMT
costin      2003/01/31 10:56:25

  Modified:    jasper2/src/share/org/apache/jasper/runtime
                        PerThreadTagHandlerPool.java
               jasper2/src/share/org/apache/jasper/servlet JspServlet.java
  Log:
  Fix per thread tag handler pool.
  
  Change the level for work dir messages to debug - the location and warning
  that you shouldn't modify the generated files should be in docs, not on
  each context startup.
  
  Revision  Changes    Path
  1.2       +4 -4      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PerThreadTagHandlerPool.java
  
  Index: PerThreadTagHandlerPool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PerThreadTagHandlerPool.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PerThreadTagHandlerPool.java	22 Jan 2003 19:54:55 -0000	1.1
  +++ PerThreadTagHandlerPool.java	31 Jan 2003 18:56:25 -0000	1.2
  @@ -98,7 +98,7 @@
       }
   
       protected void init(Servlet servlet) {
  -        String maxSizeS=TagHandlerPool.getOption(servlet, OPTION_MAXSIZE, null);
  +        String maxSizeS=TagHandlerPool.getOption(servlet.getServletConfig(), OPTION_MAXSIZE,
null);
           maxSize=Integer.parseInt(maxSizeS);
           if( maxSize <0  ) {
               maxSize=MAX_SIZE;
  
  
  
  1.23      +6 -6      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspServlet.java
  
  Index: JspServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspServlet.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- JspServlet.java	29 Jan 2003 22:09:32 -0000	1.22
  +++ JspServlet.java	31 Jan 2003 18:56:25 -0000	1.23
  @@ -124,10 +124,10 @@
           // Initialize the JSP Runtime Context
           rctxt = new JspRuntimeContext(context,options);
   
  -	if (log.isInfoEnabled()) {
  -	    log.info(Localizer.getMessage("jsp.message.scratch.dir.is", 
  +	if (log.isDebugEnabled()) {
  +	    log.debug(Localizer.getMessage("jsp.message.scratch.dir.is",
   					  options.getScratchDir().toString()));
  -	    log.info(Localizer.getMessage("jsp.message.dont.modify.servlets"));
  +	    log.debug(Localizer.getMessage("jsp.message.dont.modify.servlets"));
   	}
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message