Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 14897 invoked from network); 9 Jul 2004 20:59:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Jul 2004 20:59:21 -0000 Received: (qmail 53649 invoked by uid 500); 9 Jul 2004 20:58:53 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 53605 invoked by uid 500); 9 Jul 2004 20:58:53 -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 53590 invoked by uid 99); 9 Jul 2004 20:58:53 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [206.124.128.9] (HELO mail.blarg.net) (206.124.128.9) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 09 Jul 2004 13:58:51 -0700 Received: from [192.168.1.100] (poindextrose.org [206.124.144.246]) by mail.blarg.net (Postfix) with ESMTP id A163833991 for ; Fri, 9 Jul 2004 13:58:48 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Matthew Hixson Subject: Re: serving static content Date: Fri, 9 Jul 2004 13:58:40 -0700 To: "Tomcat Users List" X-Mailer: Apple Mail (2.618) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Jul 9, 2004, at 1:52 PM, Jim Cox wrote: > What's your Context entry? > > ------------------------------------------------------------ > This e-mail and attachments, if any, may contain confidential and/or > proprietary information. Please be advised that the unauthorized use or > disclosure of the information is strictly prohibited. If you are not > the > intended recipient, please notify the sender immediately by reply > e-mail and > delete all copies of this message and attachments. Thank you. > > > > -----Original Message----- > From: Matthew Hixson [mailto:mhixson@versaly.com] > Sent: Fri 09 July 2004 4:54 pm > To: Tomcat Users List > Subject: Re: serving static content > > > I'm trying to serve images from /usr/local/watermarks. The URL should > be http://mymachine.com/watermarks/. I've tried adding a Context to > server.xml, but every time I try to access > http://mymachine.com/watermarks I get a 404 message: > > The requested resource (/watermarks/) is not available. > > This is with Tomcat 5.0.26 embedded in JBoss 3.2.4. There are not any > error messages in any logfiles. > Thanks, > -M@ > > On Jul 9, 2004, at 1:41 PM, Mike Curwen wrote: > >> Tomcat will serve static content, pretty much "out of the box". What >> is >> the problem you're experiencing ? >> >> >>> -----Original Message----- >>> From: Matthew Hixson [mailto:mhixson@versaly.com] >>> Sent: Friday, July 09, 2004 3:27 PM >>> To: Tomcat Users List >>> Subject: serving static content >>> >>> >>> Does there exist a howto on serving static content with Tomcat? Even >>> better would be one that shows how to do this with Tomcat+JBoss. >>> Searching Google seems to turn up lots of hits that say >>> basically, "Use >>> Apache instead of Tomcat to serve static content." I really need to >>> get this working in Tomcat without Apache. >>> Thanks, >>> -M@ >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org