Thursday, 19 January 2017

What is a Hidden Comment/ JSP Comment?

A comments that documents the JSP page but is not sent to the client. The JSP engine ignores a hidden comment, and does not process any code within hidden comment tags. A hidden comment is not sent to the client, either in the displayed JSP page or the HTML page source. The hidden comment is useful when you want to hide or "comment out" part of your JSP page.
You can use any characters in the body of the comment except the closing --%> combination. If you need to use --%> in your comment, you can escape it by typing --%\>.

Syntax: <%-- comment --%>

1 comment:

  1. As we know there are many companies which are converting into Hadoop consulting services. with the right direction we can definitely predict the future.

    ReplyDelete