Yes, I sure do. I'm running the bleeding edge version of Tomcat4, and I am
still getting an error saying that it can't find the taglib. I am able to
actually run the JSTL examples after deploying the war file. Here is my
web.xml file in the ROOT/WEB-INF directory:

<?xml version="1.0" ?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
1.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
<web-app>

  <context-param>

<param-name>javax.servlet.jsp.jstl.temp.ExpressionEvaluatorClass</param-name
>

<param-value>org.apache.taglibs.standard.lang.spel.Evaluator</param-value>
    </context-param>

  <servlet>
  <servlet-name>
    SynchronizeExperts
  </servlet-name>
  <servlet-class>
    experts.SynchronizeExperts
  </servlet-class>
  </servlet>

......

<servlet-mapping>
        <servlet-name>
            SynchronizeExperts
        </servlet-name>
        <url-pattern>
            /Experts/SynchronizeExperts
        </url-pattern>
  </servlet-mapping>

  <taglib>
        <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
        <taglib-location>/WEB-INF/c.tld</taglib-location>
  </taglib>


</web-app>

I have also placed the .tld file in the WEB-INF directory, and the jstl.jar
and standard.jar in the WEB-INF/lib directory. Any ideas?

Ryan LeCompte
[EMAIL PROTECTED]
http://www.ull.edu/~rml7669



----- Original Message -----
From: "Paul DuBois" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Thursday, May 09, 2002 9:21 PM
Subject: Re: JSTL taglib not found.


> At 20:12 -0500 5/9/02, Ryan LeCompte wrote:
> >Hello,
> >
> >I am trying to use the JSTL in my JSP with the following
> >
> ><%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
> >
> >However, I get an error that says:
> >
> >Error: (line 1): Could not parse deployment descriptor:
> >java.io.IOException: can
> >not resolve 'http://java.sun.com/jstl/core' into a valid tag library
> >
> >Any ideas?
> >
> >Ryan
>
> Do you have a <taglib> entry for the library in your web.xml file?
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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

Reply via email to