Jan Arenö wrote:
> Ok, thanks, but it didn't work. I guess I'm not that handy with
 > Tomcat etc.

In what way didn't it work? What error message, or incorrect behavior,
did you see. I have installed the JSTL reference implementation with
Tomcat 4.0.4 on a number of platforms in this way without any problems.
It's also how the JSP 1.2 specification says it should work. All you
need to do is copy all JAR files from the Jakarta Standard distributions
lib directory (all of them) to your web application's WEB-INF/lib
and restart Tomcat. Then declare the taglibraries using the default
URIs (described in the README file for the Standard distribution).
If that doesn't work, you most likely have some other problem with
your Tomcat or Java installation, unrelated to the Standard library.

> What did work was the following...
>
> The Jar files into /WEB-INF/lib
> The tdl files into /WEB-INF
> In the jsp specify the file direct: <%@ taglib prefix="c"
> uri="/WEB-INF/c.tld" %>
>
> No error now, but I havn't tried anything yet....

Well, that is also supported by the JSP 1.2 spec, but it should not
be necessary. Also, since you don't use the default URI in the
taglib directive, your pages can not take advantage of special
performance improvements a container may offer for the JSTL libraries.

I suggest you give the first approach another try, and if it doesn't
work, send a copy of the error messages you see (in the browser as
well as the log files).

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
JavaServer Pages        http://TheJSPBook.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

Reply via email to