JSP syntax

Published: Thursday, 3 November 2005
jsp

Comments

Block comments start with <%-- and end with --%>

If you use HTML style comments, or JavaScript comments, the JSP engine will still evaluate the commented portions of your code. In general we use JSP style comments where possible because: