org.apache.taglibs.datetime
Class CurrentTimeTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--org.apache.taglibs.datetime.CurrentTimeTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class CurrentTimeTag
extends javax.servlet.jsp.tagext.TagSupport

JSP Tag currentTime, used to get the current time in milliseconds since Jan 1, 1970 GMT.

JSP Tag Lib Descriptor

 <name>currentTime</name>
 <tagclass>org.apache.taglibs.datetime.CurrentTimeTag</tagclass>
 <bodycontent>empty</bodycontent>
 <info>Gets the current time in milliseconds since Jan 1, 1970 GMT.</info>
 

Author:
Glenn Nielsen
See Also:
Serialized Form

Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
CurrentTimeTag()
           
 
Method Summary
 int doEndTag()
          Method called at end of Tag to output current time in milliseconds.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentTimeTag

public CurrentTimeTag()
Method Detail

doEndTag

public final int doEndTag()
                   throws javax.servlet.jsp.JspException
Method called at end of Tag to output current time in milliseconds.
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
EVAL_PAGE


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.