Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 29959 invoked from network); 19 Sep 2007 21:44:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2007 21:44:16 -0000 Received: (qmail 29421 invoked by uid 500); 19 Sep 2007 21:44:02 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 29394 invoked by uid 500); 19 Sep 2007 21:44:02 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 29381 invoked by uid 99); 19 Sep 2007 21:44:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2007 14:44:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of goyathlay.geronimo@gmail.com designates 209.85.146.178 as permitted sender) Received: from [209.85.146.178] (HELO wa-out-1112.google.com) (209.85.146.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2007 21:44:02 +0000 Received: by wa-out-1112.google.com with SMTP id j4so423058wah for ; Wed, 19 Sep 2007 14:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=M3DbIN8kni+wo4pEL0JBDCGykQuU44C5k1eP0lsN68o=; b=jmc2HKiBKIK/WyvttO1UHuYYhJB3anuqLFcdHhiKzHKMLGi+ZzUKS+YEa5sx7M45fHMxqDZd5A66FHC2e98P/EdhnFyUTCx6W2A9RY8UZh8VQ0XsVsJLccSiSgB2YipKuc1f2QFdcKbHAZaryXvztAt7Q+HBXuqYmFOv7qtwr7A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bBV7Jc+lXZaSUj5W+vS6zQb/XrWzxQGeHNrWT12rxR76cDnFyoHK0v0/JASSx76ss43PuC9yahVLY2Sq2bwbconVlq/SXplBE+Q3kf0UCvMsl7jETJC60LnrDo2cfjfU5N7hN3x49iesAnVzALQK1Uz7OgKMwZCcsKGWEw4HL68= Received: by 10.114.173.15 with SMTP id v15mr1242252wae.1190238222449; Wed, 19 Sep 2007 14:43:42 -0700 (PDT) Received: by 10.114.39.7 with HTTP; Wed, 19 Sep 2007 14:43:42 -0700 (PDT) Message-ID: Date: Wed, 19 Sep 2007 17:43:42 -0400 From: "Prasad Kashyap" To: user@geronimo.apache.org Subject: Re: JSP Compiler In-Reply-To: <630D2961-8F07-4FD9-8D28-AEF53CD3B765@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <12776094.post@talk.nabble.com> <630D2961-8F07-4FD9-8D28-AEF53CD3B765@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Geronimo 1.1 used maven1. So it does not have the jspc-maven-plugin. We used our own precompile goal in geronimo/etc/maven.xml http://svn.apache.org/viewvc/geronimo/server/tags/1.1.1/etc/maven.xml?revision=447393&view=markup For an example of how we did it, look at the geronimo/applications/welcome/maven.xml http://svn.apache.org/viewvc/geronimo/server/tags/1.1.1/applications/welcome/maven.xml?revision=447393&view=markup Cheers Prasad On 9/19/07, Paul McMahan wrote: > On Sep 19, 2007, at 8:06 AM, Alessandro PTQS wrote: > > > Hi, I'm using Geronimo 1.1 and i want to disable the recompilation > > of my jsp > > every time I restart the application or even every time I restart the > > server. > > I would suggest precompiling your jsps. If you build using maven > then there is a jspc-maven-plugin that can do this for you. I think > there is also a jspc ant task if you use ant. What these tools > basically do is generate the java class file for your jsps at build > time and then insert and elements into > your web.xml so that requests for those jsps are handled by the > precompiled classes. > > > Best wishes, > Paul >