Author: remm
Date: Tue Nov 7 02:45:01 2006
New Revision: 472057
URL: http://svn.apache.org/viewvc?view=rev&rev=472057
Log:
- 40913: Fix the second test when an expression is used.
Modified:
tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java
Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java?view=diff&rev=472057&r1=472056&r2=472057
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java Tue Nov
7 02:45:01 2006
@@ -1094,7 +1094,7 @@
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());
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]