Author: markt
Date: Mon Jul 11 09:29:28 2011
New Revision: 1145084

URL: http://svn.apache.org/viewvc?rev=1145084&view=rev
Log:
Reduce variable scope to reduce testing issues

Modified:
    tomcat/trunk/webapps/examples/jsp/tagplugin/if.jsp

Modified: tomcat/trunk/webapps/examples/jsp/tagplugin/if.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/tagplugin/if.jsp?rev=1145084&r1=1145083&r2=1145084&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/tagplugin/if.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/tagplugin/if.jsp Mon Jul 11 09:29:28 2011
@@ -33,7 +33,7 @@
     <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
 
     <h3>Set the test result to a variable</h3>
-    <c:if test="${1==1}" var="theTruth" scope="session"/>
+    <c:if test="${1==1}" var="theTruth" scope="page"/>
     The result of testing for (1==1) is: ${theTruth}
 
     <h3>Conditionally execute the body</h3>



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

Reply via email to