You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by hu...@apache.org on 2004/01/16 04:51:31 UTC

cvs commit: jakarta-struts/web/examples/exercise index.html

husted      2004/01/15 19:51:31

  Modified:    web/examples/WEB-INF/exercise struts-config.xml
               web/examples/exercise index.html
  Log:
  Add test pages for html:img and logic:forward,redirect tags
  
  Revision  Changes    Path
  1.2       +9 -2      jakarta-struts/web/examples/WEB-INF/exercise/struts-config.xml
  
  Index: struts-config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/WEB-INF/exercise/struts-config.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- struts-config.xml	8 Jan 2004 16:22:42 -0000	1.1
  +++ struts-config.xml	16 Jan 2004 03:51:31 -0000	1.2
  @@ -14,9 +14,12 @@
       <forward name="absolute" path="http://jakarta.apache.org/struts" />
       <forward name="context-relative" path="/welcome.do" contextRelative="true" />
       <forward name="relative" path="/welcome.do" />
  +    <forward name="logic-forward" path="/logic-forward.do" />
     </global-forwards>
     <action-mappings>
       <action path="/welcome" forward="/index.html" />
  +    <action path="/bean-write-2" forward="/bean-write-2.jsp" />
  +    <action path="/html-img" forward="/html-img.jsp" />
       <action path="/html-link" forward="/html-link.jsp" />
       <action path="/html-link-submit" type="org.apache.struts.webapp.exercise.HtmlSettersAction" name="testbean" scope="session" validate="false">
         <forward name="input" path="/html-link.do" />
  @@ -33,9 +36,13 @@
       <action path="/html-setters-submit" type="org.apache.struts.webapp.exercise.HtmlSettersAction" name="testbean" scope="session" validate="false">
         <forward name="input" path="/html-setters.do" />
       </action>
  -    <action path="/bean-write-2" forward="/bean-write-2.jsp" />
  +    <action path="/logic-forward" forward="/logic-forward.jsp" />
  +    <action path="/logic-forward-test-forward" forward="/logic-forward-test-forward.jsp" />
  +    <action path="/logic-redirect-test-forward" forward="/logic-redirect-test-forward.jsp" />
  +    <action path="/logic-redirect-test-page" forward="/logic-redirect-test-page.jsp" />
  +
       <!-- Locale Action -->
  -    <action path="/locale" type="org.apache.struts.webapps.validator.LocaleAction" name="localeForm" scope="request">
  +    <action path="/locale" type="org.apache.struts.webapp.validator.LocaleAction" name="localeForm" scope="request">
         <forward name="success" path="/welcome.do" />
       </action>
     </action-mappings>
  
  
  
  1.2       +8 -2      jakarta-struts/web/examples/exercise/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/exercise/index.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.html	8 Jan 2004 16:20:19 -0000	1.1
  +++ index.html	16 Jan 2004 03:51:31 -0000	1.2
  @@ -42,10 +42,14 @@
     <h3>HTML Tags</h3>
   
     <ul>
  +    <li><a href="html-img.do">&lt;html:img&gt;</a></li>
  +
       <li><a href="html-link.do">&lt;html:link&gt;</a></li>
   
       <li><a href="html-multibox.do">&lt;html:multibox&gt;</a></li>
   
  +    <li>&lt;html:rewrite&gt; [:TODO:]</li>
  +
       <li><a href="html-select.do">&lt;html:select&gt;</a></li>
   
       <li><a href="html-setters.do">Scalar Setters</a></li>
  @@ -63,13 +67,15 @@
   
       <li><a href="logic-compare-numeric.jsp">Comparison Tags (Numeric)</a></li>
   
  +    <li><a href="logic-empty.jsp">Emptiness Tags</a></li>
  +
  +    <li><a href="logic-forward.do">&lt;logic:forward&gt; and &lt;logic:redirect&gt; Tags</a></li>
  +
       <li><a href="logic-iterate.jsp">Iterate Tag</a></li>
   
       <li><a href="logic-match.jsp?param1=value1">Match Tags</a></li>
   
       <li><a href="logic-present.jsp?param1=value1">Presence Tags</a></li>
  -
  -    <li><a href="logic-empty.jsp">Emptiness Tags</a></li>
     </ul>
   
     <h3>NESTED Tags</h3>
  
  
  

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