<!--[if !supportLists]-->1、 去Jakarta的网站下载一份JSTL1.1的具体实现。网址如下:<!--[endif]-->
<!--[if !supportLists]-->2、 将该压缩包解压缩后,能找到2个Jar文件,分别是jstl.jar和standard.jar,把这两个文件拷贝到Tomcat的Common/lib目录下。在我的机器上,具体路径为:C:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib<!--[endif]-->
<!--[if !supportLists]-->3、 在Eclipse中新建一个“Dynamic Web Project”,取名为JSTLTest,把前面解压缩的到的若干tld文件拷贝到此项目的WEB-INF目录下,再为他的Web.xml文件的<web-app>节点中加入如下配置信息
<jsp-config>
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/fn</taglib-uri>
<taglib-location>/WEB-INF/fn.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/perTag</taglib-uri>
<taglib-location>/WEB-INF/permittedTaglibs.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/sql.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/script</taglib-uri>
<taglib-location>/WEB-INF/scriptfree.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/x</taglib-uri>
<taglib-location>/WEB-INF/x.tld</taglib-location>
</taglib>
</jsp-config>