This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 3a3319ca88 Fix BZ 66008 - clarify trimSpaces docs
3a3319ca88 is described below

commit 3a3319ca886562d904baf32914c725a3d61b8e80
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Apr 28 19:50:09 2022 +0100

    Fix BZ 66008 - clarify trimSpaces docs
---
 webapps/docs/changelog.xml    | 9 +++++++++
 webapps/docs/jasper-howto.xml | 4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index aa95b85ad0..08da2bd672 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -145,6 +145,15 @@
       </fix>
     </changelog>
   </subsection>
+  <subsection name="Webapps">
+    <changelog>
+      <fix>
+        <bug>66008</bug>: In the documentation web application, clarify the
+        recommendation for the use the <code>trimSpaces</code> option for 
Jasper
+        in production environments. (markt)
+      </fix>
+    </changelog>
+  </subsection>
 </section>
 <section name="Tomcat 9.0.62 (remm)" rtext="2022-04-01">
   <subsection name="Catalina">
diff --git a/webapps/docs/jasper-howto.xml b/webapps/docs/jasper-howto.xml
index c54fa52b36..e748851a42 100644
--- a/webapps/docs/jasper-howto.xml
+++ b/webapps/docs/jasper-howto.xml
@@ -276,8 +276,8 @@ char arrays, set this to <code>true</code>.</li>
 <li><strong>modificationTestInterval</strong> - If development has to be set to
 <code>true</code> for any reason (such as dynamic generation of JSPs), setting
 this to a high value will improve performance a lot.</li>
-<li><strong>trimSpaces</strong> - To remove useless bytes from the response,
-set this to <code>true</code>.</li>
+<li><strong>trimSpaces</strong> - To remove unnecessary bytes from the 
response,
+consider setting this to <code>single</code> or <code>extended</code>.</li>
 </ul>
 
 </section>


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

Reply via email to