<%@ page import="java.text.*" %>
<%@ page import="oracle.portal.provider.v2.http.HttpCommonConstants" %>
<%@ page import="oracle.portal.provider.v2.render.PortletRenderRequest" %>
<%@ page import="oracle.portal.utils.xml.v2.XMLUtil" %>

<jsp:useBean id="time" class="java.util.GregorianCalendar" scope="request" />

<%
    PortletRenderRequest portletRequest = (PortletRenderRequest)
        request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);

    SimpleDateFormat formatter
         = new SimpleDateFormat ("HH:mm:ss");
%>


<SimpleHref target="<%=
    XMLUtil.escapeXMLAttribute(portletRequest.getRenderContext().getPageURL())
    %>">
<%= XMLUtil.escapeXMLText("Time: " + formatter.format(time.getTime())) %>
</SimpleHref>

