Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 89989 invoked from network); 1 Oct 2008 19:22:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2008 19:22:34 -0000 Received: (qmail 40478 invoked by uid 500); 1 Oct 2008 19:22:21 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 39792 invoked by uid 500); 1 Oct 2008 19:22:19 -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 39781 invoked by uid 99); 1 Oct 2008 19:22:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 12:22:19 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [193.252.22.156] (HELO smtp3.freeserve.com) (193.252.22.156) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 19:21:17 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3208.me.freeserve.com (SMTP Server) with ESMTP id A768D700008C for ; Wed, 1 Oct 2008 21:21:49 +0200 (CEST) Received: from smtp.homeinbox.net (unknown [91.109.187.106]) by mwinf3208.me.freeserve.com (SMTP Server) with ESMTP id 83699700008B for ; Wed, 1 Oct 2008 21:21:49 +0200 (CEST) X-ME-UUID: 20081001192149538.83699700008B@mwinf3208.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id 1689F1A44CB for ; Wed, 1 Oct 2008 20:21:54 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e4SUgaj3JKYn for ; Wed, 1 Oct 2008 20:21:50 +0100 (BST) Received: from [192.168.0.4] (study01.dev.local [192.168.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id A310E1A4380 for ; Wed, 1 Oct 2008 20:21:50 +0100 (BST) Message-ID: <48E3CDC7.6000605@apache.org> Date: Wed, 01 Oct 2008 20:21:43 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: can i compile .tag files on the fly? please help :( References: <19764368.post@talk.nabble.com> <48E3C174.2020102@cornell.edu> <19766951.post@talk.nabble.com> In-Reply-To: <19766951.post@talk.nabble.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org LoopInfinitum wrote: > thanks again for the replies. > > i guess i wasn't clear... i, of course, have tried this; the status quo is > (and has been) that our team has to restart the server for any .tag changes > made. it has been this way since i was hired a year ago, and, of course, > we'd benefit greatly from being able to tweak changes in real time. > > and i agree with you, i know our tomcat is old :) unfortunately, we're > stuck with it right now. > > i saw these in the spec: > "Upon deployment, the JSP container must search for and process all tag files > appearing in these directories and subdirectories." > "For each tag file in the web application, a tag handler is made available > to JSP > pages and other tag files. The specifics of how this is done are left up to > the Con- > tainer implementation. For example, some Containers may choose to compile > tag > files into Java tag handlers, whereas others may decide to interpret the tag > handlers." > > so my question is, can tomcat 5.02a be configured to compile .tag files on > the fly? again, this is not the case for our current configuration. > > thanks again, > john > > > > David Smith-2 wrote: >> I would guess from a brief look at the jsp 2.0 spec, the answer is yes, >> but didn't read far enough to be absolutely sure. You could read the >> spec yourself for a definitive answer or just try it... Personally I >> find reality more fun. >> >> - write a test tag >> - write a jsp to test it >> - run the jsp test >> - modify the tag file only >> - run the jsp test again >> >> BTW, you should *really* upgrade your version of tomcat. You'll be >> happier with the results. >> >> --David >> >> >> LoopInfinitum wrote: >>> hey all, >>> >>> i'm looking for a definitive answer: >>> can .tag files be compiled on the fly, or do they always require a >>> recompile >>> and restart for changes to take effect? >>> >>> we currently have jsp's set to compile on the fly, and it makes dev so >>> much >>> easier/faster. >>> >>> is there any alternative, if not the same very dynamic editing ability of >>> .jsp's? >>> >>> running tomcat 5.02a. If you are really running 5.0.2 Alpha you need to upgrade. That version is over 5 years old and the 5.0.x branch hasn't been supported for some time. On current versions compilation on the fly does just work. Mark --------------------------------------------------------------------- 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