<%@ page contentType="text/html;charset=UTF-8" %>
<%@page import="java.text.*" %>
<%-- Main part of JSP starts here --%>
<jsp:useBean id="time" class="java.util.GregorianCalendar" scope="request" />

<%
    SimpleDateFormat formatter
         = new SimpleDateFormat ("yyyy.MM.dd 'at' hh:mm:ss");
%>

<h2>
Hello the time is: <%= formatter.format(time.getTime()) %>
</h2>

