dmkarr 2002/10/23 22:08:45 Modified: contrib/struts-el/web/exercise-taglib logic-iterate.jsp Log: Added test for iterating over EL-valued collection. Revision Changes Path 1.2 +13 -0 jakarta-struts/contrib/struts-el/web/exercise-taglib/logic-iterate.jsp Index: logic-iterate.jsp =================================================================== RCS file: /home/cvs/jakarta-struts/contrib/struts-el/web/exercise-taglib/logic-iterate.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- logic-iterate.jsp 26 Sep 2002 04:54:41 -0000 1.1 +++ logic-iterate.jsp 24 Oct 2002 05:08:45 -0000 1.2 @@ -120,6 +120,19 @@ </logic-el:iterate> </ol> +<h3>Test 11 - Iterate Over HTTP Headers</h3> + +<table border="1"> + <tr> + <th>Key</th> + <th>Value</th> + </tr> + <logic-el:iterate id="item" collection="${header}" indexId="index"> + <tr> + <td><c:out value="${item.key}"/></td> + <td><c:out value="${item.value}"/></td> + </tr> + </logic-el:iterate> </body> </html-el:html>
-- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>