SCWCD exam
SCWCD FAQ
Other SCWCD sites
SCWCD Books
About Java Prepare
Questions
DD
JSP
Taglibs
Servlets
EL and JSTL
JSP Tutorial
Page Directive
Include Directive
Taglib Directive
Declaration
Scriptlet
Expression
Implicit Objects
Comments
Action
Advertisements

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--%>