Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 17970 invoked from network); 23 Jan 2006 12:32:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jan 2006 12:32:03 -0000 Received: (qmail 10576 invoked by uid 500); 23 Jan 2006 12:31:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 10560 invoked by uid 500); 23 Jan 2006 12:31:46 -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 10543 invoked by uid 99); 23 Jan 2006 12:31:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 04:31:46 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [82.70.116.177] (HELO mail.melandra.com) (82.70.116.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 04:31:45 -0800 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: writing files with a web application Date: Mon, 23 Jan 2006 12:31:20 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: writing files with a web application thread-index: AcYgFt1mheDKg2suTiyiWcOnhIF7ywAAUMVA From: "Peter Crowther" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > From: SOA Work [mailto:soawork@web.de]=20 Check the Servlet Spec (version 2.4 is at http://www.jcp.org/aboutJava/communityprocess/final/jsr154/ ) for questions of this kind. >From memory in both cases (so treat with caution): > 1.) am I allowed to call main methods or programms in my web=20 > applicatio? If you wish to be spec-compliant, no. However, it should work depending on Tomcat's security settings. > 2.) am I allowed to write files on the disk from within an=20 > web application? If I am, something went wrong while trieing ;-) > Can i write anywhere or have I to write to my application dir=20 > or to temp dir or something. If you wish to be spec-compliant, you can only write to a temporary directory that you ask the context for. However, this may or may not be enforced depending on Tomcat's security settings. - Peter --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org