You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Turner, John" <JT...@AAS.com> on 2002/08/20 17:58:10 UTC

RE: taglib jar exception

As far as I know, the current web.xml DTD is 2.3, not 2.2.  Not sure if it
matters, but it might...tomcat 4.x is very specific about supporting the
DTD.

The current DTD is http://java.sun.com/dtd/web-app_2_3.dtd

John Turner
jturner@NOSPAM.aas.com

-----Original Message-----
From: Georges Roux [mailto:georges.roux@free.fr]
Sent: Tuesday, August 20, 2002 1:56 PM
To: Tomcat Users List
Subject: taglib jar exception


Hi,

I'am running jakarta-tomcat-4.1.9-LE-jdk14,
I have this Exception
org.apache.jasper.JasperException: null(-1,-1) This absolute uri 
(http://java.sun.com/products/javamail/demo/webapp) cannot be resolved 
in either web.xml or the jar files deployed with this application

here is my web.xml
<!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>JspDemo</display-name>
  <description>no description</description>
  <servlet>
    <servlet-name>FilterServlet</servlet-name>
    <display-name>FilterServlet</display-name>
    <description>no description</description>
    <servlet-class>FilterServlet</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>FilterServlet</servlet-name>
    <url-pattern>/compose</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>FilterServlet</servlet-name>
    <url-pattern>/errordetails</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>FilterServlet</servlet-name>
    <url-pattern>/login</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>FilterServlet</servlet-name>
    <url-pattern>/logout</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>FilterServlet</servlet-name>
    <url-pattern>/send</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>FilterServlet</servlet-name>
    <url-pattern>/messageheaders</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>FilterServlet</servlet-name>
    <url-pattern>/messagecontent</url-pattern>
  </servlet-mapping>
  <servlet>
    <servlet-name>AttachmentServlet</servlet-name>
    <display-name>AttachmentServlet</display-name>
    <description>no description</description>
    <servlet-class>AttachmentServlet</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>AttachmentServlet</servlet-name>
    <url-pattern>/attachment</url-pattern>
  </servlet-mapping>
  <taglib>
    
<taglib-uri>http://java.sun.com/products/javamail/demo/webapp</taglib-uri>
    <taglib-location>/WEB-INF/lib/jtl.jar</taglib-location>
  </taglib>
</web-app>

does anyone have any sugestions?

thanks in advance
Georges



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: taglib jar exception

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Tue, 20 Aug 2002, Turner, John wrote:

> Date: Tue, 20 Aug 2002 11:58:10 -0400
> From: "Turner, John" <JT...@AAS.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: 'Tomcat Users List' <to...@jakarta.apache.org>
> Subject: RE: taglib jar exception
>
>
> As far as I know, the current web.xml DTD is 2.3, not 2.2.  Not sure if it
> matters, but it might...tomcat 4.x is very specific about supporting the
> DTD.
>
> The current DTD is http://java.sun.com/dtd/web-app_2_3.dtd
>

This is the current DTD, but Tomcat 4 also supports the 2.2 DTD as well --
the spec requires backwards compatibility for 2.2-based webapps.

> John Turner
> jturner@NOSPAM.aas.com

Craig


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>