This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
The following code in a JSP page is returning a Java compiler warning (i.e., local variable myiterator1 is not used), although the code works fine. Is there a better way to do this?
<UL> <logic:iterate id="myIterator1" collection="<%= tempMap1 %>"> <LI><FONT size="2"><bean:write name="myIterator1" property="key" /> <bean:write name="myIterator1" property="value" /></FONT></LI> </logic:iterate> </UL> tempMap1 is the result map from performing set operations and is obtained on the JSP page. I believe the error refers to the "myIterator1" in the id field of the logic:iterate tag rather than the name field of the bean:write tag because I'm only getting one warning. [ July 20, 2002: Message edited by: Elizabeth Reynolds ]