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

Replacing Hashtable With ConcurrentHashMap in Java

What is the Difference Between a Set and a Map in Java ?

Why ListIterator Has add Method But Iterator Does Not Have in Jav ...

What is the Use of Interceptor Design Pattern in Java ?

What is the Purpose of Properties File in Java ?