A step forward but I am not going to shoot in the dark.  Show us the complete error 
and the taglib16.tld file.

Maybe you didn't close a tag?

T.

> -----Original Message-----
> From: sufi malak [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 19, 2001 1:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Are taglibs working in tomcat4 ?????
>
>
> I did but never works, and I have now a new error :
>
> A Servlet Exception Has Occurred
> org.apache.jasper.JasperException: XML parsing error on file
> /WEB-INF/tlds/taglib16.tld: (line 34, col -1): Element "tag" does
>
>
> My file is  portal.jsp :
>
> <%@ taglib uri="/WEB-INF/tlds/taglib16.tld" prefix= "port" %>
>
> <html>
> <port:Portal portlets="first.jsp,second.jsp" columns="bgcolor='#FFFFF'
> width=30%, bgcolor='#00FF00'" table="cellspacing=20"/>
> </html>
>
> Thanks
>
> >From: Tony Einarsson <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages specification and
> >     reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: Are taglibs working  in tomcat4 ?????
> >Date: Mon, 19 Mar 2001 13:03:55 -0500
> >
> >Maybe you are not specifying the correct URI in the JSP file
> that uses the
> >taglib.
> >
> >Based on your web.xml, it should be
> >
> ><%@ taglib uri="/WEB-INF/tlds/taglib16.tld"
> prefix"WhatEverYouDecideToUse"
> >%>
> >
> >Keep in mind that the URI is an identifier and so the one
> you use in the
> >JSP file needs to match the one you use in the web.xml file,
> otherwise the
> >location you specify with <taglib-location> means nothing.
> >
> >From the JSP 1.2 PFD
> >"The taglib directive in a JSP page declares that the page uses a tag
> >library, uniquely
> >identifies the tag library using a URI and associates a tag
> prefix that
> >will distinguish usage of
> >the actions in the library.
> >A JSP container maps the URI used in the taglib directive into a Tag
> >Library Descriptor
> >in two steps: it first resolves the URI into a TLD resource
> path, and then
> >it derives the TLD
> >object itself from the TLD resource path."
> >
> >T.
> >
> > > -----Original Message-----
> > > From: sufi malak [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, March 19, 2001 11:39 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Are taglibs working in tomcat4 ?????
> > >
> > >
> > > I am trying to learn taglibs under tomcat4, but I got this error :
> > > A Servlet Exception Has Occurred
> > > org.apache.jasper.JasperException: File "/taglib16.tld" not found
> > >
> > >
> > > This is what I have under tomcat4 :
> > > webapps\portal.jsp
> > > webapps\first.jsp
> > > webapps\second.jsp
> > > webapps\WEB-INF\lib\porttag.jar
> > > webapps\WEB-INF\tlds\taglib16.tld
> > > webapps\WEB-INF\web.xml
> > >
> > > The web.xml is :
> > > <?xml version="1.0" encoding="ISO-8859-1"?>
> > >
> > > <!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>
> > >   <!-- The Welcome File List -->
> > >   <welcome-file-list>
> > >     <welcome-file>portal.jsp</welcome-file>
> > >   </welcome-file-list>
> > >   <!-- Template Tag Library Descriptor -->
> > >   <taglib>
> > >     <taglib-uri>/WEB-INF/tlds/taglib16.tld </taglib-uri>
> > >     <taglib-location>/WEB-INF/tlds/taglib16.tld </taglib-location>
> > >   </taglib>
> > > </web-app>
> > >
> > > Thanks
> > >
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at http://explorer.msn.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://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > >
> >
> >=============================================================
> ==============
> >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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to