Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 57874 invoked from network); 9 Jun 2008 09:12:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jun 2008 09:12:37 -0000 Received: (qmail 28676 invoked by uid 500); 9 Jun 2008 09:12:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 28653 invoked by uid 500); 9 Jun 2008 09:12:28 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 28640 invoked by uid 99); 9 Jun 2008 09:12:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2008 02:12:27 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [203.187.150.196] (HELO mshxbex01.xius.ltd) (203.187.150.196) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2008 09:11:33 +0000 Received: from [10.10.16.63] (10.10.16.63) by mshxbex01.xius.ltd (172.16.16.15) with Microsoft SMTP Server id 8.1.240.5; Mon, 9 Jun 2008 14:33:52 +0530 Message-ID: <484CF1F8.1060802@xius-bcgi.com> Date: Mon, 9 Jun 2008 14:33:52 +0530 From: karthikn User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Access static content ("logs" folder) ? References: <48494115.1040705@xius-bcgi.com> <0AAE5AB84B013E45A7B61CB66943C17213820086F3@USEA-EXCH7.na.uis.unisys.com> <484A15EA.3070505@xius-bcgi.com> <0AAE5AB84B013E45A7B61CB66943C17213820377B8@USEA-EXCH7.na.uis.unisys.com> <007a01c8c8dd$d0842d30$0300000a@animal> <0AAE5AB84B013E45A7B61CB66943C17213820377F3@USEA-EXCH7.na.uis.unisys.com> <015701c8c903$bfb4a130$0300000a@animal> In-Reply-To: <015701c8c903$bfb4a130$0300000a@animal> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Thnx ... This really works with regards Karthik Johnny Kewl wrote: > ----- Original Message ----- > From: "Caldarale, Charles R" > To: "Tomcat Users List" > Sent: Sunday, June 08, 2008 2:54 AM > Subject: RE: Access static content ("logs" folder) ? > > > >> From: Johnny Kewl [mailto:john@kewlstuff.co.za] >> Subject: Re: Access static content ("logs" folder) ? >> >> Where were you yesterday?... cant leave me alone here, >> hey..... and run off and play golf ;) >> > > >> That's what my boss does - and she's very good at it; never tried it >> myself. I drive on race tracks, fly airplanes, and today, play tennis and >> go eagle watching. >> > Cut the wings off your plane, put it into an inverted spin, and try land > it on a tennis court --- thats golf, with 17 to go ;) > > >> Wanted to ask you if its possible to enable a listing for >> just one webapp... couldnt figure that out. >> > > >> Yes, it can be done. You have to create a WEB-INF/web.xml file under the >> webapp's docBase, declare its own DefaultServlet, and set the listings >> value to true. >For example: >> > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > version="2.5"> > > logdefault > org.apache.catalina.servlets.DefaultServlet > > debug > 0 > > > listings > true > > 1 > > > logdefault > / > > > > >> Note that you must change the to something that doesn't >> conflict with what's in the global conf/web.xml file. >> > Ah... this is what I got wrong, thx. > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > . > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org