On 4/6/06, Adam <[EMAIL PROTECTED]> wrote: > What is the DTD etc used for?
The DTD specifies the syntax of your configuration file. Depending on the parser, you might be able to do without it, but the parser will not be able to report errors in your configuration. I'm no xml parsing expert, though. I use this DTD for web.xml: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> And in the same directory (WEB-INF) both jetty and Oracle pick up my web-app_2_3.dtd file. I'm pretty sure it also worked under Tomcat 4.1.27 back when I was using that. The SYSTEM approach given by Rafael should also work.