|
|
|
javaprepare: JSP tutorial - JSP Comments
SCWCD home | SCWCD questions | SCWCD links | SCJP home
javaprepare.com:JSP tutorial - JSP Comments
SCWCD home | SCWCD questions | SCWCD links | SCJP home
JSP has two types of comments. JSP supports standard HTML and XML comment format. Any content between <!-- and --> is treated as comment.
<!-- This is a comment in both HTML and JSP. -->
|
JSP has also introduced a different syntax for comments. Any text between <!-- and --%> is treated as comments.
<%-- This is a comment in JSP but not in HTML--%>
|
|