Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37FB610B12 for ; Tue, 15 Oct 2013 13:22:04 +0000 (UTC) Received: (qmail 37854 invoked by uid 500); 15 Oct 2013 13:22:00 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 37659 invoked by uid 500); 15 Oct 2013 13:21:57 -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 37650 invoked by uid 99); 15 Oct 2013 13:21:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 13:21:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dmikusa@gopivotal.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qc0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 13:21:51 +0000 Received: by mail-qc0-f173.google.com with SMTP id l13so4716604qcy.32 for ; Tue, 15 Oct 2013 06:21:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=2BVmem8UrzOo5GIvxgfdYRS0Q3fTt4reJyubtLOhht0=; b=c5UZ0wBAblLA3ZbMrJc57YMkWQq8/dmjzYNgz7E6E7CwQr9ImfCz9GiqFqQM28MrZq 4AjY/yrNwJNydLEkELZZW+XqEG1MldLvahxtrXFP5ui7CTz+5wItjoGvTUuI0eVOFz1O NjhYuSTJr8C8MMw1+lE+7aHKHEv0kd4ElO5uBenxfqm2RNDmBypa9HufSNWqv9KW55mt UbG6gh/qaJZ+UQn7ycD4LYQtOOI0KfuNv0KNHJLtVN4MU/pEz8a3VFTK3YHo8am0x0Pq PfSDakxtAFIqdn2gmWm1LueXowczDEpFLqae31O2fE7y/3AigelHy7XWrPTjxz555CW0 001w== X-Gm-Message-State: ALoCoQleiAfWVeQZUIPsjyOzUm0arA2IRdhn8gi+eNBL0jtbdZb225Bp938C0IN25Gcq0EHcggs8 X-Received: by 10.224.121.6 with SMTP id f6mr30292522qar.64.1381843290305; Tue, 15 Oct 2013 06:21:30 -0700 (PDT) Received: from [192.168.0.6] (d118-75-246-224.col.wideopenwest.com. [75.118.224.246]) by mx.google.com with ESMTPSA id a5sm27198769qae.2.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Oct 2013 06:21:29 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Tomcat 8 what happened to VirtualWebappLoader ? From: Daniel Mikusa In-Reply-To: Date: Tue, 15 Oct 2013 09:21:29 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <22707AD3-3206-46ED-896B-5C86DDD0D1C0@gopivotal.com> References: <525C1765.1090605@apache.org> To: "Tomcat Users List" X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org On Oct 14, 2013, at 5:20 PM, Johan Compagner = wrote: > thx, >=20 > i already found it, through the changelog, i noticed that those where > changed and where now all replaced by >=20 > Would be nice that there are some sample context.xml files in the = final > release so that people can see exactly what they could be using. For what it's worth, here's an example: =20 Here's how I understand this... The first tag exposes a single resource located locally at = "/app/files/special.txt" on the application relative path of = "/static/special.txt". The second tag exposes a directory located = locally at "/app/files/static" on the application relative path of = "/static". Ex: http:////static/special.txt -> would return the = file "/app/files/special.txt". http:////static/ -> would return = from "/app/files/static/". The first tag is a PreResource so it would be selected before a file of = the same name in "/app/files/static". It would also get selected before = a resource of the same name exposed by the application or a JAR file. = The second tag is a PostResource so it would only be checked if nothing = else (i.e. PreResources, the app or JAR files) provided the resource. Dan >=20 >=20 >=20 > On 14 October 2013 18:10, Mark Thomas wrote: >=20 >> On 14/10/2013 16:26, Johan Compagner wrote: >>> That seems to be removed from the Tomcat8 build >>> Is there something else that we now have to use? >>=20 >> http://tomcat.apache.org/migration-8.html#Web_application_resources >>=20 >> Mark >>=20 >>=20 >>>=20 >>> How can i now setup a debug environment easy by using a context file = like >>> this: >>>=20 >>> >> docBase=3D"C:/workspace_trunk/servoy_webclient2/war/" > >>> >>> >> virtualClasspath=3D"/users/theuser/xxxx;/users/theuser/test.jar" >>> /> >>> >>> >>>=20 >>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >>=20 >>=20 >=20 >=20 > --=20 > Johan Compagner > Servoy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org