Friday, October 21, 2005

Comments

You have various methods to add comments to a Java Server Page. The first and most obvious is to just use the


HTML comment tag:

<  !-- some comment -->

JSP comment tag:

<%-- some comment --%>

Java Comment tag:

<%
//This is a Java comment
/* This is also a valid Java comment that
   can be split over more than one line */
%>

0 Comments:

Post a Comment

<< Home