| 2010-09-09 14:34:21 | Time now is 2:34 PM, Thu, September 9, 2010 Hong Kong Time | ||||||||||||||||
| A2A
JSP Tag List <%@ taglib uri="/WEB-INF/tlds/a2atags.tld" prefix="a2a"%> |
|||||||||||||||||
| Tag Name | Syntax | Description | Tag Type | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| showTimePassed [July 4, 2007] |
<a2a:showTimePassed wasDate="2007-05-12 12:10:34" /> where wasDate is the time to be determined how many minutes is it before time now. |
This tag works for all applications in the platform. | Platform |
||||||||||||||
| Output: at least a year old |
|||||||||||||||||
| showForumStats [July 2, 2007] |
<a2a:showForumStats /> No attribute is needed. This gather statistics from the client's browser header and databases with respect to the current Forum status. |
This tag works with the Forum | Forum |
||||||||||||||
Output:
|
|||||||||||||||||
| showLastModified [December 10, 2007] |
<a2a:showLastModfified fileName="absolute path" dateFormat="HH:mm:ss yyyy" /> There are two attributes: fileName is required specifying the absolute path of the file to be targeted; e.g., a path is /opt/jakarta/webapps/ROOT (I believe a directory is ok). dateFormat is optional and will be default to "yyyy-MM-dd HH:mm:ss". |
This tag works with any JSP pages with no denomination. | Platform |
||||||||||||||
| Output: 2008-Feb-10 Sun 11:38:24 HKT |
|||||||||||||||||