This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
use this code in JSP file: --------------------------- <c:forEach var="customer" items="${customers}"> <c:choose> <c:when test="${customer.address.country == 'USA'}"> <font color="blue"> </c:when> <c:when test="${customer.address.country == 'Canada'}"> <font color="red"> </c:when> <c:otherwise> <font color="green"> </c:otherwise> </c:choose> ${customer} </font><br> </c:forEach> --------------------- invoke reformat -> no change I believe it's not very offten case to generate more start tags and only one end tag -> P4
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss