Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 13295 invoked by uid 500); 11 Sep 2001 18:57:06 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 13284 invoked from network); 11 Sep 2001 18:57:06 -0000 Message-ID: <20010911185710.26976.qmail@web14608.mail.yahoo.com> Date: Tue, 11 Sep 2001 19:57:10 +0100 (BST) From: =?iso-8859-1?q?Kevin=20HaleBoyes?= Subject: servlet spec section 9.5 question To: tomcat-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I've started looking into deploying a WAR file to distribute my application. I used the "dist" target from the sample build.xml file in the tomcat documentation to build the WAR file itself (app.name is opf): I put the opf.war file into the webapps directory and restarted the server and everything worked great! I also had a look at the contents of the file and noticed the standard META-INF directory. But, section 9.5 of the Servlet 2.3 PFD specification says "... a META-INF directotry will be present which contains information useful to the Java Archive tools. If this directory is present, the servlet container must not allow it be served as content to a web client's request" If I'm interpreting this correctly, what I tried above shouldn't have worked since the .war file _did_ contain a META-INF directory. I'm using RedHat 7.1 and Tomcat 4.0 RC1. Does anyone have any thoughts on this? Kevin HaleBoyes ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie