You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by sh...@apache.org on 2002/04/26 18:32:57 UTC
cvs commit: jakarta-taglibs/standard/src/javax/servlet/jsp/jstl/tlv ScriptFreeTLV.java
shawn 02/04/26 09:32:57
Modified: standard/src/javax/servlet/jsp/jstl/tlv ScriptFreeTLV.java
Log:
Fixes bug 8522: rtexprvalues not prevented appropriately in ScriptfreeTLV
Revision Changes Path
1.2 +2 -1 jakarta-taglibs/standard/src/javax/servlet/jsp/jstl/tlv/ScriptFreeTLV.java
Index: ScriptFreeTLV.java
===================================================================
RCS file: /home/cvs/jakarta-taglibs/standard/src/javax/servlet/jsp/jstl/tlv/ScriptFreeTLV.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ScriptFreeTLV.java 4 Feb 2002 02:39:50 -0000 1.1
+++ ScriptFreeTLV.java 26 Apr 2002 16:32:57 -0000 1.2
@@ -233,7 +233,8 @@
* class to use the new API. -- SB.
*/
public ValidationMessage[] reportResults () {
- if (declarationCount + scriptletCount + expressionCount > 0) {
+ if (declarationCount + scriptletCount + expressionCount
+ + rtExpressionCount > 0) {
StringBuffer results = new StringBuffer("JSP page contains ");
boolean first = true;
if (declarationCount > 0) {
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>