out.write () and out.print () results, are output content
The former output html content
The latter output variables
5 JSP comments
We now need to know JSP is compiled into .java, and then compiled into a .class. Which will be ignored by the content of <% - - ...%> in the JSP compiled .java, that JSP comments.
Can also be used in a JSP page html Notes: but the comments in the JSP compiler into .java is present, it will not be ignored, and will be sent to the client browser <- - ...!>. However, when the browser displays the html sent from the server, because <! - ... -> html is commented, so the browser will not display it.