tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Bourque" <christ...@aliosoft.com>
Subject web.xml and jspc
Date Mon, 08 Apr 2002 02:37:00 GMT
Hi !

I'm trying to include the external xml fragment generated by Tomcat's JSPC into web.xml like
this :

-- web.xml :
<?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"
[
<!ENTITY auto-web PUBLIC "auto-web" "auto-web.xml">
]
>
<web-app>

  &auto-web;

 <session-config>
    <session-timeout>10</session-timeout>    
  </session-config>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
  </welcome-file-list>  
  <taglib>
    <taglib-uri>/WEB-INF/app.tld</taglib-uri>
    <taglib-location>/WEB-INF/app.tld</taglib-location>
  </taglib>   
</web-app>
--------------------------------------

But when I deploy in Tomcat I keep getting this error :

2002-04-07 22:13:38 - Ctx(/mail) : Validating web.xml
XmlMapper: Can't find resource for entity: auto-web --> file:C:/temp/jakarta-tomcat-3.3.1/jakarta-tomcat-3.3.1/webapps/
ail/WEB-INF/auto-web.xml "null"

I would like to understand the meaning of this error, because it doesn't look so bad since
I'm able to access my precompiled jsp pages correctly !

This file (auto-web.xml) is in the same directory as web.xml (WEB-INF) in my war archive.
I've tried with other Tomcat version (3.2.x & 4.0x) with the same result.

I would appreciate any hint to fix this problem !

Regards
Christian Bourque



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message