You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by jm...@apache.org on 2003/02/22 03:57:37 UTC

cvs commit: jakarta-struts/web/test/test/org/apache/struts/taglib/bean TestCookieTag.jsp TestDefineTag.jsp TestHeaderTag.jsp TestIncludeTag.jsp TestMessageTag.jsp TestMessageTag1.jsp TestMessageTag2.jsp TestMessageTag3.jsp TestMessageTag4.jsp TestPageTag.jsp TestParameterTag.jsp TestResourceTag.jsp TestSizeTag.jsp TestStrutsTag.jsp TestWriteTag.jsp

jmitchell    2003/02/21 18:57:36

  Added:       web/test/test/org/apache/struts/taglib/bean
                        TestCookieTag.jsp TestDefineTag.jsp
                        TestHeaderTag.jsp TestIncludeTag.jsp
                        TestMessageTag.jsp TestMessageTag1.jsp
                        TestMessageTag2.jsp TestMessageTag3.jsp
                        TestMessageTag4.jsp TestPageTag.jsp
                        TestParameterTag.jsp TestResourceTag.jsp
                        TestSizeTag.jsp TestStrutsTag.jsp TestWriteTag.jsp
  Log:
  Initial checkin.
  
  These jsp files correspond 1 for 1 with the Cactus tests under /src/test
  
  Revision  Changes    Path
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestCookieTag.jsp
  
  Index: TestCookieTag.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  
  <logic:equal name="runTest" value="testCookieTagName">
  	<bean:cookie id="cookie" name="COOKIE_KEY"/>
  	<bean:define id="COOKIE_TAG_KEY" name="cookie" property="value"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testCookieTagNameMultiple">
  	<bean:cookie id="cookie" name="COOKIE_KEY" multiple="any value here"/>
  	<bean:define id="COOKIE_TAG_KEY"
  		><logic:iterate id="cookieValue" name="cookie" type="javax.servlet.http.Cookie"
  			><bean:write name="cookieValue" property="value"
  		/></logic:iterate>
  	</bean:define>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testCookieTagNameValue">
  	<bean:cookie id="cookie" name="COOKIE_KEY" value="COOKIE_VAL"/>
  	<bean:define id="COOKIE_TAG_KEY" name="cookie" property="value"/>
  
  </logic:equal>
  
  <bean:write name="COOKIE_TAG_KEY"/>
  
  
  
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestDefineTag.jsp
  
  Index: TestDefineTag.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <logic:equal name="runTest" value="testDefineNameApplicationScope">
  	<bean:define id="DEFINE_TAG_KEY" name="TestDefineTag" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineNamePropertyApplicationScope">
  	<bean:define id="DEFINE_TAG_KEY" name="TestDefineTag" property="value" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineValueApplicationScope">
  	<bean:define id="DEFINE_TAG_KEY" value="Test Value" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineBodyApplicationScope">
  	<bean:define id="DEFINE_TAG_KEY" scope="application">
  		Test Value
  	</bean:define>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testDefineNameSessionScope">
  	<bean:define id="DEFINE_TAG_KEY" name="TestDefineTag" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineNamePropertySessionScope">
  	<bean:define id="DEFINE_TAG_KEY" name="TestDefineTag" property="value" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineValueSessionScope">
  	<bean:define id="DEFINE_TAG_KEY" value="Test Value" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineBodySessionScope">
  	<bean:define id="DEFINE_TAG_KEY" scope="session">
  		Test Value
  	</bean:define>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testDefineNameRequestScope">
  	<bean:define id="DEFINE_TAG_KEY" name="TestDefineTag" scope="request"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineNamePropertyRequestScope">
  	<bean:define id="DEFINE_TAG_KEY" name="TestDefineTag" property="value" scope="request"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineValueRequestScope">
  	<bean:define id="DEFINE_TAG_KEY" value="Test Value" scope="request"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineBodyRequestScope">
  	<bean:define id="DEFINE_TAG_KEY" scope="request">
  		Test Value
  	</bean:define>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testDefineNameNoScope">
  	<bean:define id="DEFINE_TAG_KEY" name="TestDefineTag"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineNamePropertyNoScope">
  	<bean:define id="DEFINE_TAG_KEY" name="TestDefineTag" property="value"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineValueNoScope">
  	<bean:define id="DEFINE_TAG_KEY" value="Test Value"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testDefineBodyNoScope">
  	<bean:define id="DEFINE_TAG_KEY">
  		Test Value
  	</bean:define>
  </logic:equal>
  
  
  <bean:write name="DEFINE_TAG_KEY"/>
  
  
  
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestHeaderTag.jsp
  
  Index: TestHeaderTag.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  
  <logic:equal name="runTest" value="testHeaderTagName">
  	<bean:header id="HEADER_TAG_KEY" name="HEADER_KEY"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testHeaderTagNameMultiple">
  	<bean:header id="header" name="HEADER_KEY" multiple="any value here"/>
  	<bean:define id="HEADER_TAG_KEY"
  		><logic:iterate id="headerValue" name="header"
  			><bean:write name="headerValue"
  		/></logic:iterate>
  	</bean:define>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testHeaderTagNameValue">
  	<bean:header id="HEADER_TAG_KEY" name="HEADER_KEY" value="HEADER_VAL"/>
  </logic:equal>
  
  <bean:write name="HEADER_TAG_KEY"/>
  
  
  
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestIncludeTag.jsp
  
  Index: TestIncludeTag.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <logic:equal name="runTest" value="testIncludeTagForward">
  	<bean:include id="INCLUDE_TAG_KEY" forward="testIncludeTagForward"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testIncludeTagHref">
  	<bean:define id="serverAddress">
  	http://<%=request.getServerName()%>:<%=request.getServerPort()%>/test/test/org/apache/struts/taglib/bean/resources/IncludeTagTest.jsp
  	</bean:define>
  	<bean:include id="INCLUDE_TAG_KEY" href="<%=serverAddress%>"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testIncludeTagPage">
  	<bean:include id="INCLUDE_TAG_KEY" page="/test/org/apache/struts/taglib/bean/resources/IncludeTagTest.jsp"/>
  </logic:equal>
  
  
  
  <bean:write name="INCLUDE_TAG_KEY"/>
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestMessageTag.jsp
  
  Index: TestMessageTag.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <%
  /*
   * ===========================================================
   * Testing MessageTag (these comments serve as a divider of 
   *                     functionality being tested)
   * 
   * Section: No Arg
   * Locale:  (default)
   * ===========================================================
   */
  %>
  
  
  <logic:equal name="runTest" value="testMessageTagNoArgKeyNoScopeDefaultBundle">
  	<bean:message key="default.bundle.message"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgKeyApplicationScopeDefaultBundle">
  	<bean:message key="default.bundle.message" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgKeySessionScopeDefaultBundle">
  	<bean:message key="default.bundle.message" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgKeyRequestScopeDefaultBundle">
  	<bean:message key="default.bundle.message" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTagNoArgKeyNoScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message" bundle="alternate"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgKeyApplicationScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message" bundle="alternate" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgKeySessionScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message" bundle="alternate" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgKeyRequestScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message" bundle="alternate" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTagNoArgNameNoScopeDefaultBundle">
  	<bean:define id="key">
  		default.bundle.message
  	</bean:define>
  	<bean:message name="key"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgNameApplicationScopeDefaultBundle">
  	<bean:define id="key" toScope="application">
  		default.bundle.message
  	</bean:define>
  	<bean:message name="key" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgNameSessionScopeDefaultBundle">
  	<bean:define id="key" toScope="session">
  		default.bundle.message
  	</bean:define>
  	<bean:message name="key" scope="session"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTagNoArgNameRequestScopeDefaultBundle">
  	<bean:define id="key" toScope="request">
  		default.bundle.message
  	</bean:define>
  	<bean:message name="key" scope="request"/>
  </logic:equal>
  
  
  
  
  
  
  
  
  
  <logic:equal name="runTest" value="testMessageTagNoArgNameNoScopeAlternateBundle">
  	<bean:define id="key">
  		alternate.bundle.message
  	</bean:define>
  	<bean:message name="key" bundle="alternate"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgNameApplicationScopeAlternateBundle">
  	<bean:define id="key" toScope="application">
  		alternate.bundle.message
  	</bean:define>
  	<bean:message name="key" bundle="alternate" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgNameSessionScopeAlternateBundle">
  	<bean:define id="key" toScope="session">
  		alternate.bundle.message
  	</bean:define>
  	<bean:message name="key" bundle="alternate" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgNameRequestScopeAlternateBundle">
  	<bean:define id="key" toScope="request">
  		alternate.bundle.message
  	</bean:define>
  	<bean:message name="key" bundle="alternate" scope="request"/>
  </logic:equal>
  
  
  
  
  
  
  
  
  
  
  
  <logic:equal name="runTest" value="testMessageTagNoArgNamePropertyNoScopeDefaultBundle">
  	<bean:message name="key" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgNamePropertyApplicationScopeDefaultBundle">
  	<bean:message name="key" scope="application" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgNamePropertySessionScopeDefaultBundle">
  	<bean:message name="key" scope="session" property="string"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTagNoArgNamePropertyRequestScopeDefaultBundle">
  	<bean:message name="key" scope="request" property="string"/>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testMessageTagNoArgNamePropertyNoScopeAlternateBundle">
  	<bean:message name="key" bundle="alternate" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgNamePropertyApplicationScopeAlternateBundle">
  	<bean:message name="key" bundle="alternate" scope="application" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgNamePropertySessionScopeAlternateBundle">
  	<bean:message name="key" bundle="alternate" scope="session" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTagNoArgNamePropertyRequestScopeAlternateBundle">
  	<bean:message name="key" bundle="alternate" scope="request" property="string"/>
  </logic:equal>
  
  
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestMessageTag1.jsp
  
  Index: TestMessageTag1.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <%
  /*
   * ===========================================================
   * Testing MessageTag (these comments serve as a divider of 
   *                     functionality being tested)
   * 
   * Section: 1 Arg
   * Locale:  (default)
   * ===========================================================
   */
  %>
  
  
  <logic:equal name="runTest" value="testMessageTag1ArgKeyNoScopeDefaultBundle">
  	<bean:message key="default.bundle.message.1" arg0="1"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgKeyApplicationScopeDefaultBundle">
  	<bean:message key="default.bundle.message.1" arg0="1" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgKeySessionScopeDefaultBundle">
  	<bean:message key="default.bundle.message.1" arg0="1" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgKeyRequestScopeDefaultBundle">
  	<bean:message key="default.bundle.message.1" arg0="1" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag1ArgKeyNoScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.1" arg0="1" bundle="alternate"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgKeyApplicationScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.1" arg0="1" bundle="alternate" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgKeySessionScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.1" arg0="1" bundle="alternate" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgKeyRequestScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.1" arg0="1" bundle="alternate" scope="request"/>
  </logic:equal>
  
  
  
  
  
  <logic:equal name="runTest" value="testMessageTag1ArgNameNoScopeDefaultBundle">
  	<bean:define id="key">
  		default.bundle.message.1
  	</bean:define>
  	<bean:message name="key" arg0="1"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgNameApplicationScopeDefaultBundle">
  	<bean:define id="key" toScope="application">
  		default.bundle.message.1
  	</bean:define>
  	<bean:message name="key" arg0="1"scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgNameSessionScopeDefaultBundle">
  	<bean:define id="key" toScope="session">
  		default.bundle.message.1
  	</bean:define>
  	<bean:message name="key" arg0="1"scope="session"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag1ArgNameRequestScopeDefaultBundle">
  	<bean:define id="key" toScope="request">
  		default.bundle.message.1
  	</bean:define>
  	<bean:message name="key" arg0="1"scope="request"/>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testMessageTag1ArgNameNoScopeAlternateBundle">
  	<bean:define id="key">
  		alternate.bundle.message.1
  	</bean:define>
  	<bean:message name="key" arg0="1"bundle="alternate"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgNameApplicationScopeAlternateBundle">
  	<bean:define id="key" toScope="application">
  		alternate.bundle.message.1
  	</bean:define>
  	<bean:message name="key" arg0="1"bundle="alternate" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgNameSessionScopeAlternateBundle">
  	<bean:define id="key" toScope="session">
  		alternate.bundle.message.1
  	</bean:define>
  	<bean:message name="key" arg0="1"bundle="alternate" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgNameRequestScopeAlternateBundle">
  	<bean:define id="key" toScope="request">
  		alternate.bundle.message.1
  	</bean:define>
  	<bean:message name="key" arg0="1"bundle="alternate" scope="request"/>
  </logic:equal>
  
  
  
  
  
  
  
  
  
  <logic:equal name="runTest" value="testMessageTag1ArgNamePropertyNoScopeDefaultBundle">
  	<bean:message name="key" arg0="1"property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgNamePropertyApplicationScopeDefaultBundle">
  	<bean:message name="key" arg0="1"scope="application" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgNamePropertySessionScopeDefaultBundle">
  	<bean:message name="key" arg0="1"scope="session" property="string"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag1ArgNamePropertyRequestScopeDefaultBundle">
  	<bean:message name="key" arg0="1"scope="request" property="string"/>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testMessageTag1ArgNamePropertyNoScopeAlternateBundle">
  	<bean:message name="key" arg0="1"bundle="alternate" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgNamePropertyApplicationScopeAlternateBundle">
  	<bean:message name="key" arg0="1"bundle="alternate" scope="application" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgNamePropertySessionScopeAlternateBundle">
  	<bean:message name="key" arg0="1"bundle="alternate" scope="session" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag1ArgNamePropertyRequestScopeAlternateBundle">
  	<bean:message name="key" arg0="1"bundle="alternate" scope="request" property="string"/>
  </logic:equal>
  
  
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestMessageTag2.jsp
  
  Index: TestMessageTag2.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <%
  /*
   * ===========================================================
   * Testing MessageTag (these comments serve as a divider of 
   *                     functionality being tested)
   * 
   * Section: 2 Arg
   * Locale:  (default)
   * ===========================================================
   */
  %>
  
  
  <logic:equal name="runTest" value="testMessageTag2ArgKeyNoScopeDefaultBundle">
  	<bean:message key="default.bundle.message.2" arg0="1" arg1="2"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgKeyApplicationScopeDefaultBundle">
  	<bean:message key="default.bundle.message.2" arg0="1" arg1="2" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgKeySessionScopeDefaultBundle">
  	<bean:message key="default.bundle.message.2" arg0="1" arg1="2" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgKeyRequestScopeDefaultBundle">
  	<bean:message key="default.bundle.message.2" arg0="1" arg1="2" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag2ArgKeyNoScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.2" arg0="1" arg1="2" bundle="alternate"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgKeyApplicationScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.2" arg0="1" arg1="2" bundle="alternate" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgKeySessionScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.2" arg0="1" arg1="2" bundle="alternate" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgKeyRequestScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.2" arg0="1" arg1="2" bundle="alternate" scope="request"/>
  </logic:equal>
  
  
  
  
  
  <logic:equal name="runTest" value="testMessageTag2ArgNameNoScopeDefaultBundle">
  	<bean:define id="key">
  		default.bundle.message.2
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgNameApplicationScopeDefaultBundle">
  	<bean:define id="key" toScope="application">
  		default.bundle.message.2
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2"scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgNameSessionScopeDefaultBundle">
  	<bean:define id="key" toScope="session">
  		default.bundle.message.2
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2"scope="session"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag2ArgNameRequestScopeDefaultBundle">
  	<bean:define id="key" toScope="request">
  		default.bundle.message.2
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2"scope="request"/>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testMessageTag2ArgNameNoScopeAlternateBundle">
  	<bean:define id="key">
  		alternate.bundle.message.2
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2"bundle="alternate"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgNameApplicationScopeAlternateBundle">
  	<bean:define id="key" toScope="application">
  		alternate.bundle.message.2
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2"bundle="alternate" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgNameSessionScopeAlternateBundle">
  	<bean:define id="key" toScope="session">
  		alternate.bundle.message.2
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2"bundle="alternate" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgNameRequestScopeAlternateBundle">
  	<bean:define id="key" toScope="request">
  		alternate.bundle.message.2
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2"bundle="alternate" scope="request"/>
  </logic:equal>
  
  
  
  
  
  
  
  
  
  <logic:equal name="runTest" value="testMessageTag2ArgNamePropertyNoScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2"property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgNamePropertyApplicationScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2"scope="application" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgNamePropertySessionScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2"scope="session" property="string"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag2ArgNamePropertyRequestScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2"scope="request" property="string"/>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testMessageTag2ArgNamePropertyNoScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2"bundle="alternate" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgNamePropertyApplicationScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2"bundle="alternate" scope="application" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgNamePropertySessionScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2"bundle="alternate" scope="session" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag2ArgNamePropertyRequestScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2"bundle="alternate" scope="request" property="string"/>
  </logic:equal>
  
  
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestMessageTag3.jsp
  
  Index: TestMessageTag3.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <%
  /*
   * ===========================================================
   * Testing MessageTag (these comments serve as a divider of 
   *                     functionality being tested)
   * 
   * Section: 3 Arg
   * Locale:  (default)
   * ===========================================================
   */
  %>
  
  
  <logic:equal name="runTest" value="testMessageTag3ArgKeyNoScopeDefaultBundle">
  	<bean:message key="default.bundle.message.3" arg0="1" arg1="2" arg2="3"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgKeyApplicationScopeDefaultBundle">
  	<bean:message key="default.bundle.message.3" arg0="1" arg1="2" arg2="3" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgKeySessionScopeDefaultBundle">
  	<bean:message key="default.bundle.message.3" arg0="1" arg1="2" arg2="3" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgKeyRequestScopeDefaultBundle">
  	<bean:message key="default.bundle.message.3" arg0="1" arg1="2" arg2="3" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag3ArgKeyNoScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.3" arg0="1" arg1="2" arg2="3" bundle="alternate"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgKeyApplicationScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.3" arg0="1" arg1="2" arg2="3" bundle="alternate" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgKeySessionScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.3" arg0="1" arg1="2" arg2="3" bundle="alternate" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgKeyRequestScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.3" arg0="1" arg1="2" arg2="3" bundle="alternate" scope="request"/>
  </logic:equal>
  
  
  
  
  
  <logic:equal name="runTest" value="testMessageTag3ArgNameNoScopeDefaultBundle">
  	<bean:define id="key">
  		default.bundle.message.3
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgNameApplicationScopeDefaultBundle">
  	<bean:define id="key" toScope="application">
  		default.bundle.message.3
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgNameSessionScopeDefaultBundle">
  	<bean:define id="key" toScope="session">
  		default.bundle.message.3
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"scope="session"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag3ArgNameRequestScopeDefaultBundle">
  	<bean:define id="key" toScope="request">
  		default.bundle.message.3
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"scope="request"/>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testMessageTag3ArgNameNoScopeAlternateBundle">
  	<bean:define id="key">
  		alternate.bundle.message.3
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"bundle="alternate"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgNameApplicationScopeAlternateBundle">
  	<bean:define id="key" toScope="application">
  		alternate.bundle.message.3
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"bundle="alternate" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgNameSessionScopeAlternateBundle">
  	<bean:define id="key" toScope="session">
  		alternate.bundle.message.3
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"bundle="alternate" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgNameRequestScopeAlternateBundle">
  	<bean:define id="key" toScope="request">
  		alternate.bundle.message.3
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"bundle="alternate" scope="request"/>
  </logic:equal>
  
  
  
  
  
  
  
  
  
  <logic:equal name="runTest" value="testMessageTag3ArgNamePropertyNoScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgNamePropertyApplicationScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"scope="application" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgNamePropertySessionScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"scope="session" property="string"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag3ArgNamePropertyRequestScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"scope="request" property="string"/>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testMessageTag3ArgNamePropertyNoScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"bundle="alternate" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgNamePropertyApplicationScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"bundle="alternate" scope="application" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgNamePropertySessionScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"bundle="alternate" scope="session" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag3ArgNamePropertyRequestScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3"bundle="alternate" scope="request" property="string"/>
  </logic:equal>
  
  
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestMessageTag4.jsp
  
  Index: TestMessageTag4.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <%
  /*
   * ===========================================================
   * Testing MessageTag (these comments serve as a divider of 
   *                     functionality being tested)
   * 
   * Section: 4 Arg
   * Locale:  (default)
   * ===========================================================
   */
  %>
  
  
  <logic:equal name="runTest" value="testMessageTag4ArgKeyNoScopeDefaultBundle">
  	<bean:message key="default.bundle.message.4" arg0="1" arg1="2" arg2="3" arg3="4"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgKeyApplicationScopeDefaultBundle">
  	<bean:message key="default.bundle.message.4" arg0="1" arg1="2" arg2="3" arg3="4" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgKeySessionScopeDefaultBundle">
  	<bean:message key="default.bundle.message.4" arg0="1" arg1="2" arg2="3" arg3="4" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgKeyRequestScopeDefaultBundle">
  	<bean:message key="default.bundle.message.4" arg0="1" arg1="2" arg2="3" arg3="4" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag4ArgKeyNoScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.4" arg0="1" arg1="2" arg2="3" arg3="4" bundle="alternate"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgKeyApplicationScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.4" arg0="1" arg1="2" arg2="3" arg3="4" bundle="alternate" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgKeySessionScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.4" arg0="1" arg1="2" arg2="3" arg3="4" bundle="alternate" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgKeyRequestScopeAlternateBundle">
  	<bean:message key="alternate.bundle.message.4" arg0="1" arg1="2" arg2="3" arg3="4" bundle="alternate" scope="request"/>
  </logic:equal>
  
  
  
  
  
  <logic:equal name="runTest" value="testMessageTag4ArgNameNoScopeDefaultBundle">
  	<bean:define id="key">
  		default.bundle.message.4
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgNameApplicationScopeDefaultBundle">
  	<bean:define id="key" toScope="application">
  		default.bundle.message.4
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgNameSessionScopeDefaultBundle">
  	<bean:define id="key" toScope="session">
  		default.bundle.message.4
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"scope="session"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag4ArgNameRequestScopeDefaultBundle">
  	<bean:define id="key" toScope="request">
  		default.bundle.message.4
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"scope="request"/>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testMessageTag4ArgNameNoScopeAlternateBundle">
  	<bean:define id="key">
  		alternate.bundle.message.4
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"bundle="alternate"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgNameApplicationScopeAlternateBundle">
  	<bean:define id="key" toScope="application">
  		alternate.bundle.message.4
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"bundle="alternate" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgNameSessionScopeAlternateBundle">
  	<bean:define id="key" toScope="session">
  		alternate.bundle.message.4
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"bundle="alternate" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgNameRequestScopeAlternateBundle">
  	<bean:define id="key" toScope="request">
  		alternate.bundle.message.4
  	</bean:define>
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"bundle="alternate" scope="request"/>
  </logic:equal>
  
  
  
  
  
  
  
  
  
  <logic:equal name="runTest" value="testMessageTag4ArgNamePropertyNoScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgNamePropertyApplicationScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"scope="application" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgNamePropertySessionScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"scope="session" property="string"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testMessageTag4ArgNamePropertyRequestScopeDefaultBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"scope="request" property="string"/>
  </logic:equal>
  
  
  
  <logic:equal name="runTest" value="testMessageTag4ArgNamePropertyNoScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"bundle="alternate" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgNamePropertyApplicationScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"bundle="alternate" scope="application" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgNamePropertySessionScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"bundle="alternate" scope="session" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testMessageTag4ArgNamePropertyRequestScopeAlternateBundle">
  	<bean:message name="key" arg0="1" arg1="2" arg2="3" arg3="4"bundle="alternate" scope="request" property="string"/>
  </logic:equal>
  
  
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestPageTag.jsp
  
  Index: TestPageTag.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <logic:equal name="runTest" value="testPageTagApplication">
  	<bean:page id="app" property="application"/>
  	<%=app.getAttribute("PAGETAG_KEY")%>
  </logic:equal>
  
  <logic:equal name="runTest" value="testPageTagSession">
  	<bean:page id="s" property="session"/>
  	<%=s.getAttribute("PAGETAG_KEY")%>
  </logic:equal>
  
  <logic:equal name="runTest" value="testPageTagRequest">
  	<bean:page id="req" property="request"/>
  	<%=req.getAttribute("PAGETAG_KEY")%>
  </logic:equal>
  
  <logic:equal name="runTest" value="testPageTagResponse">
  	<bean:page id="resp" property="response"/>
  	<%resp.getWriter().println("PAGETAG_VAL");%>
  </logic:equal>
  
  <logic:equal name="runTest" value="testPageTagConfig">
  	<bean:page id="cfg" property="config"/>
  	<%=cfg.getServletContext().getAttribute("PAGETAG_KEY")%>
  </logic:equal>
  
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestParameterTag.jsp
  
  Index: TestParameterTag.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <%
    /* There's not really a clean way to test parameter with Cactus tests.
     * I went with what worked for me.
     * The URL used to call these tests have the following parameters:
     *
     * Cactus_TestMethod=testParameterTag
     * Cactus_TestClass=org.apache.struts.taglib.bean.TestParameterTag
     * Cactus_AutomaticSession=true
     * Cactus_Service=CALL_TEST
     **/
  %>
  
  
  <logic:equal name="runTest" value="testParameterTag">
  	<bean:parameter id="PAGE_KEY" name="Cactus_TestClass"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testParameterTagValue">
  	<bean:parameter id="PAGE_KEY" name="does not exists" value="Test Value"/>
  </logic:equal>
  
  
  <bean:write name="PAGE_KEY"/>
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestResourceTag.jsp
  
  Index: TestResourceTag.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <logic:equal name="runTest" value="testResourceTag">
  	<bean:resource id="PAGE_KEY" 
  		name="/test/org/apache/struts/taglib/bean/resources/TextFileForTesting.txt"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testResourceTagInput">
  	<bean:resource id="stream" 
  		name="/test/org/apache/struts/taglib/bean/resources/TextFileForTesting.txt"
  		input="any value here gives you an InputStream"/>
  
  <%	/* 
  	 * I borrowed this snippet from the ResourceTag.
  	 * This test may seem trivial and redundent, but later, when others
  	 * come along and change/add functionality, you'll come to appreciate
  	 * tests like this.
  	 */
      try {
          StringBuffer sb = new StringBuffer();
          java.io.InputStreamReader reader =
            new java.io.InputStreamReader(stream);
          char buffer[] = new char[256];
          int n = 0;
          while (true) {
              n = reader.read(buffer);
          if (n < 1)
              break;
          sb.append(buffer, 0, n);
          }
          reader.close();
          pageContext.setAttribute("PAGE_KEY", sb.toString());
      } catch (java.io.IOException e) {
      	e.printStackTrace();
      }
  %>
  </logic:equal>
  
  <bean:write name="PAGE_KEY"/>
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestSizeTag.jsp
  
  Index: TestSizeTag.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <%
  	/* 
  	 * Testing the SizeTag using an Array.
  	 *                NoScope   App     Session      Requ    
  	 * Name            x         x         x          x
  	 * 
  	 * NameProperty    x         x         x          x
  	 * 
  	 * NameProperty    x         x         x          x
  	 *  (nested)
  	 * 
  	 * 
  	 */
  %>
  <logic:equal name="runTest" value="testSizeTagNameArrayNoScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNameArrayApplicationScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNameArraySessionScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNameArrayRequestScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyArrayNoScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="array"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyArrayApplicationScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="array" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyArraySessionScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="array" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyArrayRequestScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="array" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyArrayNoScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.array"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyArrayApplicationScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.array" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyArraySessionScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.array" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyArrayRequestScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.array" scope="request"/>
  </logic:equal>
  
  
  <%
  	/* 
  	 * Testing the SizeTag using a Collection.
  	 *                App     Session      Requ    
  	 * Name            x         x           x
  	 * 
  	 * NameProperty    x         x           x
  	 * 
  	 * NameProperty    x         x           x
  	 *  (nested)
  	 * 
  	 * 
  	 */
  %>
  <logic:equal name="runTest" value="testSizeTagNameCollectionNoScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNameCollectionApplicationScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNameCollectionSessionScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNameCollectionRequestScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyCollectionNoScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="collection"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyCollectionApplicationScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="collection" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyCollectionSessionScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="collection" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyCollectionRequestScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="collection" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyCollectionNoScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.collection"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyCollectionApplicationScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.collection" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyCollectionSessionScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.collection" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyCollectionRequestScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.collection" scope="request"/>
  </logic:equal>
  
  
  
  
  
  
  <%
  	/* 
  	 * Testing the SizeTag using a Map.
  	 *                App     Session      Requ    
  	 * Name            x         x           x
  	 * 
  	 * NameProperty    x         x           x
  	 * 
  	 * NameProperty    x         x           x
  	 *  (nested)
  	 * 
  	 * 
  	 */
  %>
  <logic:equal name="runTest" value="testSizeTagNameMapNoScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNameMapApplicationScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNameMapSessionScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNameMapRequestScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyMapNoScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="map"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyMapApplicationScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="map" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyMapSessionScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="map" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyMapRequestScope">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="map" scope="request"/>
  </logic:equal>
  
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyMapNoScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.map"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyMapApplicationScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.map" scope="application"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyMapSessionScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.map" scope="session"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testSizeTagNamePropertyMapRequestScopeNested">
  	<bean:size id="PAGE_KEY" name="REQUEST_KEY" property="nestedObject.map" scope="request"/>
  </logic:equal>
  
  
  <bean:write name="PAGE_KEY"/>
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestStrutsTag.jsp
  
  Index: TestStrutsTag.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <logic:equal name="runTest" value="testStrutsTagFormBean">
  	<bean:struts id="PAGE_KEY" formBean="testFormBean"/>
  	<bean:write name="PAGE_KEY" property="name"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testStrutsTagDynaFormBean">
  	<bean:struts id="PAGE_KEY" formBean="testDynaFormBean"/>
  	<bean:write name="PAGE_KEY" property="name"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testStrutsTagForward">
  	<bean:struts id="PAGE_KEY" forward="testIncludeTagForward"/>
  	<bean:write name="PAGE_KEY" property="name"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testStrutsTagMapping">
  	<bean:struts id="PAGE_KEY" mapping="/testIncludeTagTransaction"/>
  	<bean:write name="PAGE_KEY" property="path"/>
  </logic:equal>
  
  
  
  
  
  
  
  1.1                  jakarta-struts/web/test/test/org/apache/struts/taglib/bean/TestWriteTag.jsp
  
  Index: TestWriteTag.jsp
  ===================================================================
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  
  <logic:equal name="runTest" value="testWriteTagName">
  	<bean:write name="REQUEST_KEY"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testWriteTagNameProperty">
  	<bean:write name="REQUEST_KEY" property="string"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testWriteTagNameFormat">
  	<bean:write name="REQUEST_KEY" format="###,###"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testWriteTagNameFormatKeyDefaultBundle">
  	<bean:write name="REQUEST_KEY" formatKey="default.format"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testWriteTagNameFormatKeyAlternateBundle">
  	<bean:write name="REQUEST_KEY" formatKey="alternate.format" bundle="alternate"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testWriteTagNamePropertyFormat">
  	<bean:write name="REQUEST_KEY" property="integerValue" format="###,###"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testWriteTagNameIgnore">
  	<bean:write name="REQUEST_KEY" ignore="true" scope="request"/>
  </logic:equal>
  
  <logic:equal name="runTest" value="testWriteTagNameFilter">
  	<bean:write name="REQUEST_KEY" filter="true"/>
  </logic:equal>
  
  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org