hi!! my Tomcat's version is Apache Tomcat/4.1.29. thanks Claudia
On Thu, 8 Jan 2004, Kris Schneider wrote: > What version of Tomcat are you using? > > LDC - Claudia Evelyn Gonzalez Valiente wrote: > > > Hi!! If I remove the jars from ROOT/WEB-INF/lib all the pages work okay, > > of course I can't see prueba1.jsp the message would be > > org.apache.jasper.JasperException: This absolute uri > > (http://jakarta.apache.org/taglibs/xtags-1.0) cannot be resolved in either > > web.xml or the jar files deployed with this application. But if I remove > > the jars I can work with all anothers jsp. The problem is when I put the > > jars into the ROOT/WEB-INF/lib directory. > > > > Thanks > > Claudia > > > > On Thu, 8 Jan > > 2004, Kris Schneider wrote: > > > > > >>Does the main welcome page: > >> > >>http://localhost:8080/index.jsp > >> > >>work okay? At this point, your problem doesn't have anything to do with > >>tag libraries, Tomcat can't seem to even locate your page. I'm sure it's > >>a simple configuration problem, but sometimes those are impossible to > >>debug via email ;-). > >> > >>LDC - Claudia Evelyn Gonzalez Valiente wrote: > >> > >>>Hello!!, thanks Mr. Schneider, but the problem is the same. I have this > >>>now: > >>> > >>> - A ROOT/WEB-INF/lib directory with jaxen-full.jar, jstl.jar, > >>>saxpath.jar, standard.jar and xtags.jar. > >>> - A ROOT/WEB-INF/web.xml file. I removed the taglib entry. > >>> - A ROOT/prueba.jsp file: > >>> <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> > >>> <html> > >>> <%@ taglib prefix="xtags" > >>> uri="http://jakarta.apache.org/taglibs/xtags-1.0" %> > >>> <%-- > >>> Simple use of <xtags:style> tag > >>> --%> > >>> > >>> <xtags:style xml="prueba1.xml" xsl="prueba1.xsl"/> > >>> </html> > >>> - A ROOT/prueba1.xml file > >>> - A ROOT/prueba1.xsl file > >>> > >>>The error is the same: > >>> > >>>HTTP Status 404 - /prueba.jsp > >>> > >>>type Status report > >>> > >>>message /prueba.jsp > >>> > >>>description The requested resource (/prueba.jsp) is not available. > >>> > >>>thanks > >>>Claudia > >>>On Thu, 8 Jan 2004, Kris Schneider wrote: > >>> > >>> > >>> > >>>>Since it looks like you've got some JSTL JAR files in your app, I'll assume > >>>>you're using TC 4.1. If you're not, let us know which version you are using. > >>>>Here's all you need in WEB-INF/lib: > >>>> > >>>>jaxen-full.jar > >>>>jstl.jar > >>>>saxpath.jar > >>>>standard.jar > >>>>xtags.jar > >>>> > >>>>The rest is provided by TC. Next, remove xtags.tld from WEB-INF and try a > >>>>Servlet 2.3 web.xml (remove the <taglib> entry): > >>>> > >>>><?xml version="1.0"?> > >>>> > >>>><!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> > >>>> <display-name>xtags documentation</display-name> > >>>> <description> > >>>> HTML and Javadocs for the xtags JSP tag library. > >>>> </description> > >>>> <welcome-file-list> > >>>> <welcome-file>index.jsp</welcome-file> > >>>> <welcome-file>index.html</welcome-file> > >>>> <welcome-file>xtags.html</welcome-file> > >>>> </welcome-file-list> > >>>></web-app> > >>>> > >>>>Finally, in any JSP where you need to use XTags, include the following directive: > >>>> > >>>><%@ taglib prefix="xtags" > >>>> uri="http://jakarta.apache.org/taglibs/xtags-1.0" %> > >>>> > >>>>Quoting LDC - Claudia Evelyn Gonzalez Valiente <[EMAIL PROTECTED]>: > >>>> > >>>> > >>>> > >>>>>Hi!! I'm using xtags and I have a problem, when I put the jars in the > >>>>>WEB-INF/lib/ directory, I get the following message: > >>>>> > >>>>>HTTP Status 404 - /prueba.jsp > >>>>> > >>>>>type Status report > >>>>> > >>>>>message /prueba.jsp > >>>>> > >>>>>description The requested resource (/prueba.jsp) is not available. > >>>>> > >>>>>I can't find any file. > >>>>> > >>>>>This is my web.xml: > >>>>><?xml version="1.0"?> > >>>>><!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application > >>>>>2.2//EN > >>>>>" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> > >>>>><web-app> > >>>>> <display-name>xtags documentation</display-name> > >>>>> <description>HTML and Javadocs for the xtags JSP tag > >>>>>library.</description> > >>>>> <welcome-file-list> > >>>>> <welcome-file>index.jsp</welcome-file> > >>>>> <welcome-file>index.html</welcome-file> > >>>>> <welcome-file>xtags.html</welcome-file> > >>>>> </welcome-file-list> > >>>>> > >>>>> <taglib> > >>>>> <taglib-uri>http://jakarta.apache.org/taglibs/xtags-1.0</taglib-uri> > >>>>> <taglib-location>xtags.tld</taglib-location> > >>>>> </taglib> > >>>>></web-app> > >>>>> > >>>>>This file and xtags.tld are in the WEB-INF directory. > >>>>> > >>>>>crimson.jar, dom.jar, jaxen-full.jar, jaxp-api.jar, jdbc2_0-stdext.jar, > >>>>>jstl.jar, sax.jar, saxpath.jar, standard.jar, xalan.jar, xercesImpl.jar > >>>>>and xtags.jar are in the WEB-INF/lib directory. > >>>>> > >>>>>Can you help me please? > >>>>> > >>>>>thanks > >>>>>Claudia > >>>>> > >>>>>-- > >>>>>Claudia Evelyn Gonzalez Valiente (LDC) > >>>>>[EMAIL PROTECTED] > >>>>>[EMAIL PROTECTED] > >>>>>[EMAIL PROTECTED] > >> > >> > > > > -- Claudia Evelyn Gonzalez Valiente (LDC) [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]