JSP provides separate tag for comment section. The content inside these tag is completely ignored by JSP engine.   

The syntax of comment tag is mentioned below.

In JSP, a tag inside another tag is not allowed. So, comment tag cannot be used inside the scriptlet elements. Instead of JSP comment, you can also use HTML comment.

Pin It on Pinterest

Share This