日期:2014-05-18 浏览次数:20699 次
<?xml version="1.0" encoding="UTF-8"?>
<taglib>
<tlib-version>2.0</tlib-version>
<jsp-version>1.0</jsp-version>
<shortname>m</shortname>
<uri>/mvc</uri>
<tag>
<description>输出上下文路径</description>
<name>contextPath</name>
<tag-class>org.apache.commons.mvc.tag.ContextPathTag</tag-class>
<body-content>empty</body-content>
</tag>
<tag>
<description>输出服务器的IP和端口</description>
<name>ipPort</name>
<tag-class>org.apache.commons.mvc.tag.IpPortTag</tag-class>
<body-content>empty</body-content>
</tag>
<tag>
<description>输出项目完整路径(带协议的)</description>
<name>rootPath</name>
<tag-class>org.apache.commons.mvc.tag.RootPathTag</tag-class>
<body-content>empty</body-content>
</tag>
<tag>
<description>输出当前日期或其他日期(默认格式为中文)</description>
<name>date</name>
<tag-class>org.apache.commons.mvc.tag.DateTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>1为日期,2为日期时间的简洁,3为日期时间,4为一串数字,5为时间戳,其它为中文日期</description>
<name>type</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>取值的依据(如果为null就取当前日期)</description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>取值的作用域,默认优先级为page--request--session--application</description>
<name>scope</name>
<required>false<