2009/7/5 jun ma <fancy....@gmail.com>:
> <logic:iterate id="element" name="keys">
>
> <%
>
>           Integer myElement = (Integer)element;
>
>           List myList = (List)myMap.get(myElement);
>
>           *if* (myList == *null* || myList.size() <= 1)
>
>           {
>
>               System.out.println("test!!!");
>
>               *continue*;
>
>           }
>
>    %>
>
> </logic:iterate>


The code is wrong.

You cannot "continue" or "break" when you do not have a loop in *your*
Java code,  and the tag is not your code. It is just a coincidence
that it worked before.

I do not see any requirement in the JSP specification to support such tricks.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to