Documents the JSP page but is not inserted into the response.
<%--
comment--%>
<%@ page language="java" %> <html> <head><title>A Comment Test</title></head> <body> <h2>A Test of Comments</h2> <%-- This comment will not be included in the response --%> </body> </html>
A comment marks text or lines that the JSP container should ignore. A comment is useful when you want to comment out part of your JSP page. The JSP container does not process anything within the <%--
and --%>
characters or within the <!--
and -->
characters. A comment is not inserted into the response.