<!--This note is still visible when you view the page source code, and the contents of the comment are still compiled when the page loads.
<%--The comments in the JSP, this content in the view of the page source code, not see the contents of this note writing--%>
so the recommendations that involve the business use <%----%> comments, text-descriptive suggestions using <!----> comments.
Comments are as follows:
(1) HTML page Comments-----The comments will be compiled (when the page is loaded, the syntax is judged, the required variable defaults are taken)
<!--hidden Quiz ID--
(2) JSP page comment------The comment after this is not compiled
<%--Comment Content--%>
(3) Single-line comment in JSP
<%
Write the contents of a note
%>
(4) Multi-line comment in JSP
<%
/*
Write the contents of a note
Write the contents of a note
*/
%>
Note: When the JSP page is loaded, it is converted to the Sevlet class and then compiled and run.
corresponding position such as: Tomcat\localhost\_\org\apache\jsp\xx\xx\xx\edit_jsp.class
Types of JSP and HTML page annotations