JSPs suck, episode 217
Turns out that the JSP parser doesn’t even try to be an HTML parser (I figured it’s not an XML parser long time ago…). If you comment out JSP code like this:
<!--c:if> ... bla ... </c:if-->
You’ll get this:
org.apache.jasper.JasperException: /WEB-INF/jsp/task/showTask.jsp(109,4) The end tag "</c:if-" is unbalanced
I truly have to find myself another Java templating engine/language. JSPs come out of the box, but they are simply to annoying in the long run. I guess the effort to integrate something - anything! - else would already have payed off.