I'm using tomcat 3.2.2 because my boss said so. But it's now working... at least with xtags. Now it's ok. Thanks a lot for the help.
-----Original Message----- From: Ryan Lubke [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 10 de Julho de 2002 19:39 To: Tag Libraries Users List Subject: RE: A JSTL problem... That's correct. Just reference it as you normally would in the JSP <%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %> and you should be all set. -rl On Wed, 2002-07-10 at 12:41, Carlos Barroso wrote: > I understood Ryan. > That meens that i don't need to have an entry "<taglib>" in my "web.xml" > file for each taglib that i use.... correct? > > > > > > -----Original Message----- > From: Ryan Lubke [mailto:[EMAIL PROTECTED]] > Sent: quarta-feira, 10 de Julho de 2002 19:32 > To: Tag Libraries Users List > Subject: RE: A JSTL problem... > > > You don't need to remove web.xml. > > You just don't need to arbitrarily drop x.tld in /WEB-INF. > > All of the relevant TLDs for JSTL are contained in standard.jar. > Each TLD contains a <uri> element which contains the expected URL > such as 'http://java.sun.com/jstl/xml', etc. If you drop this jar file > into /WEB-INF/lib on a JSP 1.2 compliant container, the the values of > the <uri> element are automatically picked up by the container. > > This means you don't have to directly reference the tld in the JSP, > or in the web.xml. > > > > On Wed, 2002-07-10 at 12:32, Carlos Barroso wrote: > > 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]> > > -- > 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]>