<title>A Simple JSP Page</title>

This is template text; it is automatically written to the output


<%-- This is a JSP comment --%>
For more information, see Commenting a JSP Page


    // This is a scriptlet; it contains Java code
    // For more information, see Running Java Code in a JSP Page


The following is a JSP expression; it is used to emit dynamic
text to the output stream:
The current date is <%= new java.util.Date() %>
For more information, see Generating Dynamic Content on a JSP Page


The following is a directive that includes other files:
<%@ include file="fragment.jsp" %>
For more information, see Including a File in a JSP Page


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.