You don't need the TLD files, they're already packaged in the JAR files for the
tags. You also don't need to add taglib entries to your web.xml file. You *do*
need taglib directive(s) in your JSP:

<%@ taglib prefix="c"   uri="http://java.sun.com/jstl/core"; %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"; %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql"; %>
<%@ taglib prefix="x"   uri="http://java.sun.com/jstl/xml"; %>

Quoting Andy Kriger <[EMAIL PROTECTED]>:

> I downloaded the JSTL from Sun. In the tld directory there are 2 TLDs for
> each taglib.
> 
> Example: c.tld and c-rt.tld
> 
> Do I need to copy both of these to my WEB-INF dir?
> Do I need to reference both of these in the JSP <[EMAIL PROTECTED]> directive?
> 
> thx
> andy

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to