On Tue, 9 Jul 2002, Brian J. Sletten wrote: > Yes, you do need them. If you place them in the WEB-INF directory > (with the jar files in WEB-INF/lib), your taglib lines would look > like: > > <%@taglib uri="/WEB-INF/c.tld" prefix="c" %> > <%@taglib uri="/WEB-INF/x.tld" prefix="x" %>
In general, it's better to use JSTL's well-known URIs, as this gives containers an opportunity to recognize the tags and optimize their implementation. That is, <% taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <% taglib uri="http://java.sun.com/jstl/xml" prefix="x" %> This also saves you the trouble of installing the TLDs manually in WEB-INF. If you use the Jakarta Taglibs implementation and drop in 'standard.jar' to WEB-INF/lib, then a JSP 1.2 container will notice the TLDs automatically and map them to the absolute URIs. -- Shawn Bayern "JSTL in Action" http://www.jstlbook.com (coming in July 2002 from Manning Publications) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>