That's because you're not using a JSP 1.2 container, as Ryan mentioned.
Tomcat 3.x supports only JSP 1.1, so you'll need to move to Tomcat 4.x if
you want to use JSTL.

--
Martin Cooper


> -----Original Message-----
> From: Carlos Barroso [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 10, 2002 10:33 AM
> To: 'Tag Libraries Users List'
> Subject: RE: A JSTL problem...
> 
> 
> Ok Ryan,
> But if I remove the "x.tld" and "web.xml" files it gives me the 
> following error:
> 
> Unable to open taglibrary http://java.sun.com/jstl/xml :
> /home/mike/myapp/WEB-INF/web.xml (No such file or directory)
> 
> 
> 
> 
> -----Original Message-----
> From: Ryan Lubke [mailto:[EMAIL PROTECTED]]
> Sent: quarta-feira, 10 de Julho de 2002 19:16
> To: Tag Libraries Users List
> Subject: Re: A JSTL problem...
> 
> 
> Hi,
> 
> JSTL requires a JSP 1.2 compliant container, which as far as I know,
> Tomcat 3.x is not.  Try again with the latest Tomcat 4.x.
> 
> Additionally, if standard.jar is in /WEB-INF/lib, you will 
> not need to 
> drop x.tld into into /WEB-INF. 
> 
> 
> 
> On Wed, 2002-07-10 at 12:00, Carlos Barroso wrote:
> > Hi again.
> > I've installed the jakarta-taglibs-standard.tar.gz. I've 
> put the contents
> of
> > the "lib" directory in my
> > /WEB-INF/lib, and put the "x.tld" in my /WEB-INF.
> > In my JSP I put the following line:
> > 
> > <%@ taglib uri="http://java.sun.com/jstl/xml"; prefix="x" %>
> > 
> > I've created a "web.xml" with the following content:
> > 
> > <?xml version="1.0" encoding="UTF-8?>
> > 
> > <web-app>
> >   <taglib>
> >     <taglib-uri>http://java.sun.com/jstl/xml</taglib-uri>
> >     <taglib-location>/WEB-INF/x.tld</taglib-location>
> >   </taglib>
> > </web-app>
> > 
> > I'm using tomcat 3.2.2...
> > 
> > When I try to run my application I get the following error:
> > 
> > Unable to open taglibrary http://java.sun.com/jstl/xml : 
> Unable to open
> the
> > tag library descriptor: java.sun.com
> > 
> > What am I doing wrong... I don't understand!?
> > 
> > 
> > --
> > 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]>
> 
> --
> 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