16.6. WEB-INF

The WEB-INF folder contains classes, including beans and tags, as well as the web.xml file.

16.6.1. web.xml

<?xml version="1.0" encoding="ISO-8859-1"?> 

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
     "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>
  <description>an online store</description>

  <taglib>
    <taglib-uri>http://store.mysite.com/tags/cart</taglib-uri>
    <taglib-location>/WEB-INF/cart.tld</taglib-location>
  </taglib>

<!--JSP Standard Tag Library 1.0 Core tags-->
 <taglib>
  <taglib-uri>http://java.sun.com/jstl/ea/core</taglib-uri>
  <taglib-location>/WEB-INF/jstl10/tld/c.tld</taglib-location>

 </taglib>
</web-app>

In the web.xml file, we need to declare that we want to use the JSTL core tags, ...

Get Java™ for ColdFusion® Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.