- Pass the two new values to the PageInfo instance.
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 19 Sep 2006 09:47:32 +0000 (09:47 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 19 Sep 2006 09:47:32 +0000 (09:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@447793 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/jasper/compiler/Compiler.java

index 0f40524..ddd816e 100644 (file)
@@ -129,6 +129,14 @@ public abstract class Compiler {
         if (jspProperty.getIncludeCoda() != null) {
             pageInfo.setIncludeCoda(jspProperty.getIncludeCoda());
         }
+        if (jspProperty.isDefferedSyntaxAllowedAsLitteral() != null) {
+            pageInfo.setDeferredSyntaxAllowedAsLiteral(JspUtil.booleanValue(jspProperty
+                    .isDefferedSyntaxAllowedAsLitteral()));
+        }
+        if (jspProperty.isTrimDirectiveWhitespaces() != null) {
+            pageInfo.setTrimDirectiveWhitespaces(JspUtil.booleanValue(jspProperty
+                    .isTrimDirectiveWhitespaces()));
+        }
 
         ctxt.checkOutputDir();
         String javaFileName = ctxt.getServletJavaFileName();