On Thu, 29 Aug 2002, Jan Arenö wrote: > Then I am suppost to change my web.xml file I guess. But none of the jar > files matches the tld files, isn't they suppost to match? How sould my > WEB-INF look like? I guess something like: > > <?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> > <taglib> > <taglib-uri>http://jakarta.apache.org/taglibs/{something}</taglib-uri> > <taglib-location>/WEB-INF/{something}.tld</taglib-location> > </taglib> > </web-app>
That's fine. The names of JAR files need not match the names of TLD files. Since you're using JSP 1.2, you can also take advantage of TLD auto-discovery for JAR files that include TLDs. This is the case at least for the Standard Taglib, which is Jakarta Taglibs's implementation of JSTL. You might want to contact [EMAIL PROTECTED] if you have any further questions about Jakarta Taglibs in particular. -- Shawn Bayern "JSTL in Action" http://www.jstlbook.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com