How to comment a JSP expression ?

 

We know that JSP(Java Server Pages) is a server-side technology used to develop dynamic web application.
We can add comment in JSP application using <%-- --%> tag.
 

Welcome.jsp

<html>
<body>
<%
    <%--This is a JSP Comment--%>
    <!—This is an HTML Comment- - >
    out.print(“Welcome 2 SILAN Technology powered by java8s.com”);
%>
</body>
</html>

 

Our Services:

Java Training | Python Training | Machine Learning with Python Training | Deep Learning with Python Training | Projects

SILAN Technology
Call to: 9439202111  |  9658317757  |  0674-2361252

Comment