%@ page import = "java.util.Date"%>
This is just a template text, It is going to be write automatically.
stream.
This is the jsp comment
<%-- This is a JSP comment --%>
The business logic of the program will be written inside the scriptlet directive.
<%
for(int i=0; i<10; i++)
out.println("The value of i is" + i);
%>
The following is a directive that includes other files:
<%@ include file="Date.jsp" %>
The Date is printed inside the JSP expression directive.
The current date is <%= new Date() %>