Programming Tutorials

What types of comments are available in the JSP?

By: Karthik in Interview Tutorials on 2012-06-16  

Answer: There are two types of comments are allowed in the JSP. These are hidden and output comments. A hidden comments does not appear in the generated output in the html, while output comments appear in the generated output.

Example of hidden comment:

<%-- This is hidden comment --%> 

Example of output comment:

<!-- This is output comment -->





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

Latest Articles (in Interview)