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.
Create new jsp file e.g. in web application project with following (expected) content: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <html> <ul> <c:forEach> <li></li> </c:forEach> </ul> </html> After formating the source file we will see: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <html> <ul> <c:forEach> <li></li> </c:forEach> </ul> </html> ..the end token of JSP tag is incorrectly indented. This issue is most probably caused by Editor Indentation Extension module (the same happen in GSP file only with GTag instead of JSP tag), but not sure if it has it's own component. Also if we split <li></li> into two lines instead of one or use different tags than <li> + <ul> the formatting will indent the file correctly. So it looks like some problem with <ul>, <li>, <th> tags in combination with JSP/GSP tags.