Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 54689 invoked from network); 21 Oct 2009 12:48:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Oct 2009 12:48:00 -0000 Received: (qmail 46427 invoked by uid 500); 21 Oct 2009 12:47:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 46371 invoked by uid 500); 21 Oct 2009 12:47:56 -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 46360 invoked by uid 99); 21 Oct 2009 12:47:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 12:47:56 +0000 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 [209.85.219.207] (HELO mail-ew0-f207.google.com) (209.85.219.207) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 12:47:48 +0000 Received: by ewy3 with SMTP id 3so6175415ewy.41 for ; Wed, 21 Oct 2009 05:47:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.90.209 with SMTP id e59mr2889136wef.193.1256129247743; Wed, 21 Oct 2009 05:47:27 -0700 (PDT) In-Reply-To: <4ADEFEEF.40506@apache.org> References: <4e4f46500910210521xe4f4e87t852ec160441dc1d1@mail.gmail.com> <4ADEFEEF.40506@apache.org> Date: Wed, 21 Oct 2009 13:47:27 +0100 Message-ID: <4e4f46500910210547v1a5f6db8g61c26d36332aa41f@mail.gmail.com> Subject: Re: Using jasper From: Ben Short To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Mark, Id like to store my jsp files in a database. When a request comes into my web app I want to look up the jsp file based on the requested url, compile it, instantiate it, cast it to a servlet and call the service method. My application will be spring based. Now I come to think about it when I get the request I could save the jsp file to WEB-INF/jsp and then let tomcat handle the compilation if needed. I'd have to check that the lastmod time of the db version is greater than the file version before saving it to WEB-INF/jsp. Regards Ben Short 2009/10/21 Mark Thomas : > Ben Short wrote: >> Hi, >> >> I would like to use the Jasper jsp compiler to compile jsp's that I >> read from a database/jackrabbit/inputstream can anyone give me any >> pointers? > > Can you provide a little more context? Eg is thsi standalone or as part of a > running Tomcat instance? > > Mark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org