1.

How Do I Use Comments Within A Jsp Page?

Answer»

You can use "JSP-style" comments to selectively block out code while DEBUGGING or simply to COMMENT your scriptlets. JSP comments are not visible at the client.
For example:
--%>
You can also use HTML-style comments anywhere WITHIN your JSP page. These comments are visible at the client. For example: Of course, you can also use comments SUPPORTED by your JSP SCRIPTING language within your scriptlets.

You can use "JSP-style" comments to selectively block out code while debugging or simply to comment your scriptlets. JSP comments are not visible at the client.
For example:
--%>
You can also use HTML-style comments anywhere within your JSP page. These comments are visible at the client. For example: Of course, you can also use comments supported by your JSP scripting language within your scriptlets.



Discussion

No Comment Found