What are different types of comments used in JSP?

Basically, there are two types of comments allowed in the JSP, hidden comments and output comments.


The hidden comments of JSP don’t appear in the generated output in the HTML (ex: <%-- This is hidden comment --%>), while output comments arrear in the generated output ex: <!-- This is output comment -->).

Suggest An Answer

No suggestions avaliable!

Latest post from JSP Interview Questions

Ask Question