<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Final//EN">
<HTML>
<HEAD>
<TITLE>A simple date example</TITLE>
</HEAD>
<BODY COLOR=#ffffff>
The time on the server is
<%= new java.util.Date() %>
</BODY>
</HTML>
The tags <% and %> are used to denote the beginning and end of a JSP section.
The output of this page would look something like the following
The time on the server is Thurs March 22 15:15:00 EDT 2001