Hi , i am new to struts. i have to print the values in a hashmap in a jsp using logic:iterate. i have print the hashmap as two columns in which both key and the value should be printed. how to print the key in as jsp? thanks in advance.
In fact , I prefer using JSTL to replace the logic tags from struts.
in JSTL, you can use <c:forEach var="entry" items=${HashMapObject}"> Key=${entry.key} Value = ${entry.value} </c:forEach>
-------------------------------<br />OCP 9i <br />SCJP/SCJD/SCWCD(92%)/SCDJWS<br />XML(IBM Test 141)<br />Who is the next?SCBCD<br />SCBCD/CCNA/CCNP/PMP<br />not sure