Ad esempio così:
<html>
<body>
[b]Oggi è:
<%=
new java.text.SimpleDateFormat("dd MMMM yyyy")
.format(new java.util.Date())
%>


[b]e sono le ore:
<%=
new java.text.SimpleDateFormat("HH:mm") //orario internazionale: hh mm aa
.format(new java.util.Date())
%>


</html>
</body>

Oppure con il comando:

<jsp:useBean id="clock"class="java.util.Date"/>
<c:choose>
<c:when test="${clock.hours>4}">
<H1>Buongiorno</H1>
</c:when>

<c:when test="$(clock.hours<12)">
<H1>Buongiorno</H1>
</c:when>

<c:when test="${clock.hours<20}">
<H1>Buonasera</H1>
</c:when>

<ctherwise">
<H1>Buonanotte</H1>
</ctherwise">
</c:choose>
</jsp:useBean>

Però in questo caso devi usare delle tag particoari di cui ti dirò domani perchè ora devo scappare.