From: remm Date: Tue, 7 Nov 2006 10:45:01 +0000 (+0000) Subject: - 40913: Fix the second test when an expression is used. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b40c7752c1018afc4078abe0fefbbc8592bc911e;p=tomcat7.0 - 40913: Fix the second test when an expression is used. git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@472057 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/jasper/compiler/Validator.java b/java/org/apache/jasper/compiler/Validator.java index 74ad7e5d8..ff53186c5 100644 --- a/java/org/apache/jasper/compiler/Validator.java +++ b/java/org/apache/jasper/compiler/Validator.java @@ -1094,7 +1094,7 @@ class Validator { err.jspError(n, "jsp.error.attribute.custom.non_rt_with_expr", tldAttrs[j].getName()); } - if (!deferred && (tldAttrs[j].isDeferredMethod() || tldAttrs[j].isDeferredValue())) { + if (!deferred && !tldAttrs[j].canBeRequestTime()) { // Only deferred expressions are allowed for this attribute err.jspError(n, "jsp.error.attribute.custom.non_rt_with_expr", tldAttrs[j].getName());