tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-tomcat-catalina/webapps/docs jasper-howto.xml
Date Sat, 18 Sep 2004 17:09:31 GMT
remm        2004/09/18 10:09:31

  Modified:    webapps/docs jasper-howto.xml
  - The defaults for Jasper change a bit.
  - Also add the genAsCharArray parameter.
  Revision  Changes    Path
  1.16      +7 -13     jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml
  Index: jasper-howto.xml
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- jasper-howto.xml	1 Sep 2004 22:04:27 -0000	1.15
  +++ jasper-howto.xml	18 Sep 2004 17:09:31 -0000	1.16
  @@ -106,6 +106,9 @@
   <li><strong>javaEncoding</strong> - Java file encoding to use for generating
   java source files. Default <code>UTF8</code>.</li>
  +<li><strong>genStrAsCharArray</strong> - Should text strings be generated
as char
  +arrays, to improve performance in some cases? Default <code>false</code>.</li>
   <li><strong>keepgenerated</strong> - Should we keep the generated Java
   code for each page instead of deleting it? <code>true</code> or
   <code>false</code>, default <code>true</code>.</li>
  @@ -135,19 +138,10 @@
   <li><strong>development</strong> - To disable on access checks for JSP
   pages compilation set this to <code>false</code>.</li>
  -<li><strong>fork</strong> - The internal JVM javac compiler used by Ant
  -has a known memory leak. And Ant requires that java compiles be synchronized,
  -i.e. only one JSP page can be compiled at a time.  Set fork to
  -<code>true</code> or do not define it (it is the default value) so that Ant

  -compiles JSP pages in a seperate JVM.
  -This removes the synchronization of JSP page compiles and prevents
  -all the javac classes from being instantiated and subsequently garbage
  -collected by the JVM Tomcat is running in. This also works around known 
  -issues with javac, including memory leaking, as well as JAR file locking
  -on Windows.</li>
  -<li><strong>reloading</strong> - To disable background compilation of
  -pages, which uses one thread per web application, set this to 
  +<li><strong>genStrAsCharArray</strong> - To generate slightly more efficient

  +char arrays, set this to <code>true</code>.</li>
  +<li><strong>trimSpaces</strong> - To remove useless bytes from the response,
  +set this to <code>true</code>.</li>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message