Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 85509 invoked from network); 26 Aug 2002 14:14:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Aug 2002 14:14:46 -0000 Received: (qmail 14119 invoked by uid 97); 26 Aug 2002 14:14:18 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 13968 invoked by uid 97); 26 Aug 2002 14:14:17 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 13897 invoked by uid 98); 26 Aug 2002 14:14:16 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20020826141344.21071.qmail@web12006.mail.yahoo.com> Date: Mon, 26 Aug 2002 07:13:44 -0700 (PDT) From: Jeff Forbeck Subject: Re: Static pages dir inside webapps To: Tomcat Users List In-Reply-To: <008001c24b4a$092f8ed0$221464a4@cimws34> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N D - I am a newbie, but may be able to help. The $CATALINA_HOME\webapps\[your app] is the directory I store static pages. This is the area for public files where WEB-INF stores protected documents. Adding a special subdir called [your app]\static\ worked for me. Of course, I forgot to restart Tomcat the first time (dah), but I eventually gathered my senses. As far as what previous allowed, I can't help you. I started with 2.3 and there is a strict directory specification. Anyhow, I didn't see another repsonse - hope this helps. Jeff --- D Bamud wrote: > I *need* to put a directory (say "static") inside > webapps that contains > static html pages. When I try to invoke > http://localhost:8080/static/test.html I get 404 > error. HOWEVER the moment > I make *the* dir WEB-INF in static dir it starts > working. It was working > fine in TC3.x without WEB-INF dir but gives the > problem in TC4.0.4. Does > that mean that all the apps must adhere to have > WEB-INF dir? Why? > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: