Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 37461 invoked from network); 30 Oct 2007 12:13:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2007 12:13:32 -0000 Received: (qmail 75423 invoked by uid 500); 30 Oct 2007 12:13:05 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 75405 invoked by uid 500); 30 Oct 2007 12:13:05 -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 75394 invoked by uid 99); 30 Oct 2007 12:13:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2007 05:13:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.228.181.118] (HELO diebold.com) (208.228.181.118) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2007 12:13:18 +0000 Received: from ([10.9.55.61]) by mailgate2.diebold.com with ESMTP id 5502098.93150965; Tue, 30 Oct 2007 08:12:26 -0400 Received: from brspex03.ad.diebold.com ([10.151.20.73]) by USNCEXCN02.ad.diebold.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 30 Oct 2007 08:12:26 -0400 Received: from BRSPEX00.ad.diebold.com ([10.151.20.121]) by brspex03.ad.diebold.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 30 Oct 2007 10:12:21 -0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RES: Creating files dynamically and antiJarLocking Date: Tue, 30 Oct 2007 10:12:21 -0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Creating files dynamically and antiJarLocking Thread-Index: AcgaVI61CW7Z6Lo9TYKNEFl7+ulUVQAmQPUw From: "Milanez, Marcus" To: "Tomcat Users List" X-OriginalArrivalTime: 30 Oct 2007 12:12:21.0165 (UTC) FILETIME=[1F6A2DD0:01C81AEE] X-Virus-Checked: Checked by ClamAV on apache.org Kolinko, Thanks for your reply. I really need this feature to work correctely 'cause doing that we could increase performance significantly in some of our requests.=20 I'm currently using Tomcat 6.0.10. I can't tell you whether this works in previous or further versions 'cause we have only tested in this one. And as you mentioned, I guess this behaviuor is not part of any java ee paper or standard.. Thanks for your help, Marcus Milanez -----Mensagem original----- De: Konstantin Kolinko [mailto:knst.kolinko@gmail.com]=20 Enviada em: segunda-feira, 29 de outubro de 2007 15:52 Para: Tomcat Users List Assunto: Re: Creating files dynamically and antiJarLocking > This is likely because Tomcat expects all the resources for a web app=20 > to be available at deployment time, rather than randomly appearing=20 > during the life of the deployed webapp. Jsps are recompiled when modified, and are compiled on the first access. Thus I do not see why they cannot appear randomly. I do not remember whether it is a part of the standard, but it is a feature, and it supposedly can be turned off by some options. What Tomcat version is Marcus using? As for the path to the temp folder: what is the result of calling ServletContext.getRealPath(...)? 2007/10/29, Christopher Schultz : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Marcus, > > Milanez, Marcus wrote: > > In this case, my files are created > > correctely, but I just can't reach them using their URLs. > > This is likely because Tomcat expects all the resources for a web app=20 > to be available at deployment time, rather than randomly appearing=20 > during the life of the deployed webapp. > > I believe similar questions have been raised in the past, the the=20 > answer has been "don't do that". I'm not sure if there's a good way to > achieve what you're trying to do. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHJfGH9CaO5/Lv0PARAuPxAJ0RUBs4e8Z7F921c8xCq2NTNCMsLQCgnp13 > m3QuNzpZ8L7+wiU0p3bkebA=3D > =3DSkSm > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,=20 > 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 --------------------------------------------------------------------- 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