Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 51388 invoked from network); 13 Jan 2010 17:02:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2010 17:02:26 -0000 Received: (qmail 6335 invoked by uid 500); 13 Jan 2010 17:02:20 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 6192 invoked by uid 500); 13 Jan 2010 17:02:20 -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 6164 invoked by uid 99); 13 Jan 2010 17:02:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2010 17:02:19 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [208.70.128.56] (HELO smtp-gw30.mailanyone.net) (208.70.128.56) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2010 17:02:09 +0000 Received: from mailanyone.net by smtp-gw30.mailanyone.net with esmtpa (MailAnyone extSMTP pflahrty) id 1NV6bK-0005Gs-Dx for users@tomcat.apache.org; Wed, 13 Jan 2010 11:01:49 -0600 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <91D49D99AB578240A8EDFCD15C293813AA33238BDF@EX07.Werkzeug-Eylert.local> References: <91D49D99AB578240A8EDFCD15C293813AA33238BD6@EX07.Werkzeug-Eylert.local> <4B4DE482.1060800@christopherschultz.net> <99C8B2929B39C24493377AC7A121E21F9680E374D4@USEA-EXCH8.na.uis.unisys.com> <91D49D99AB578240A8EDFCD15C293813AA33238BDF@EX07.Werkzeug-Eylert.local> Content-Type: multipart/alternative; boundary=Apple-Mail-3--520415859 Message-Id: From: Patrick Flaherty Subject: Re: servlet access to static resources (pictures) Date: Wed, 13 Jan 2010 12:01:49 -0500 To: "Tomcat Users List" X-Mailer: Apple Mail (2.753.1) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-3--520415859 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Generally speaking, should your docBase point to the location =20 containing your application ? For example Host : www.myapp.com appBase: c:\all-my-apps Application: app1 Location: c:\all-my-apps\app1 Generally speaking would point my docBase to c:\all-my-apps\app1? Thanks -P On Jan 13, 2010, at 11:23 AM, Holger Rie=DF wrote: > The context elements are defined in /%CATALINA_HOME%/conf/server.xml: > > > > > > > ... > > > > > > There are two web applications that have access to these resources. =20= > The servlets main task is to calculate picture dimensions with =20 > java.awt.Toolkit. The request.getResource methods don't find these =20 > 'extern' paths. > > Holger > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --Apple-Mail-3--520415859--