在WEBSPHERE里面如何部署使用JSTL
在JSP中如下使用JSTL:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
需要在WEB.XML文件中部署,网上查了半天,大都配置如下:
<taglib id="TagLibRef_1174444379531">
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib id="TagLibRef_1174444411921">
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
现在的问题是,c.tld这个文件的内容是什么?怎么定义的,能否给个例子,谢谢!