What is an Output Comment in JSP ?

We can write output in JSP in such a way that it becomes a comment in HTML code. This comment will not be visible in the web browser. But when we view page source to see HTML, we can see output comment.

An HTMLcomment is of following format...

If we output comment in above format, it will be visible to client.



You May Interest

How Can We Print an Array in Java ?

What is the Main Difference Between a Session and Cookie in JSP ?

Java How To Find The Average Of 10 Numbers Using A While Loop

What is the Difference Between Array and ArrayList in Java ?

How Does hashCode Method Work in Java ?