tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Larsen" <lar...@qec.com>
Subject Re: Tomcat won't find my web.xml files.
Date Thu, 04 Apr 2002 14:59:59 GMT
Since your running on Windows, make absolutely sure your
WEB-INF directory for your app is in all-caps. Use a DOS window
to verify this. Windows Explorer will always convert things to
title case, so you can't tell from there.

Jeff

----- Original Message -----
From: "Jason Johnston" <EPA2466@epa.state.il.us>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, April 03, 2002 3:42 PM
Subject: Tomcat won't find my web.xml files.


I've been working with Tomcat 4.0.1 and I'm running into a major stumbling block.  I can
run servlets and jsp's letting tomcat default to the default web.xml but I can't make my
own.

I have the following web.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app PUBLIC
 '-//Sun Microsystems, Inc. //DTD Web Application 2.3//EN'
 'http://java.sun.com/j2ee/dtds/web-app_2_3.dtd'>


<web-app>

  <servlet>
  <servlet-name>login</servlet-name>
  <servlet-class>com.onjava.login</servlet-class>
  </servlet>

  <taglib>
 <taglib-uri>/onjava</taglib-uri>
      <taglib-location>/WEB-INF/lib/taglib.tld</taglib-location>
  </taglib>

</web-app>


Located at TOMCAT_HOME/webapps/onjava/WEB-INF/web.xml

The custom tags fail and I see this in the logs:

2002-04-03 13:10:37 ContextConfig[/onjava]: Missing application web.xml, using defaults
only

Am I missing something? I'm running on NT4.0 Server Sp6a.  I've seen other people mention
this problem but I haven't found any solutions.

PLEASE. IF ANYONE KNOWS ANYTHING THAT COULD HELP, LET ME KNOW!!!!  This is a major
stumbling block.  I basically can't build webapps if I can't get it to recognize me
web.xml files.


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message