Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 1359 invoked from network); 18 Jun 2003 10:19:06 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 18 Jun 2003 10:19:06 -0000 Received: (qmail 10996 invoked by uid 97); 18 Jun 2003 10:21:38 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 10989 invoked from network); 18 Jun 2003 10:21:37 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 18 Jun 2003 10:21:37 -0000 Received: (qmail 99833 invoked by uid 500); 18 Jun 2003 10:18:51 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 99819 invoked from network); 18 Jun 2003 10:18:51 -0000 Received: from exc.pickatime.com (216.127.32.56) by daedalus.apache.org with SMTP; 18 Jun 2003 10:18:51 -0000 Received: from ttol (W165028.ppp.dion.ne.jp [210.198.165.28]) by exc.pickatime.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id ND7BCXHW; Wed, 18 Jun 2003 03:19:04 -0700 From: "Wayne Chang" To: "Tomcat Users List" Subject: RE: Precompiling JSPs Date: Wed, 18 Jun 2003 19:19:02 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <002101c33582$f74523f0$39e1a8c0@HOLODECK> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Andoni, Justin Ruthenbeck helped me with this situation. Direct your browser to: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html and look at "Web Application Compilation". See if that helps you. Best regards, Wayne Chang Pacific Northwest Software Mobile: (978) 869-3446 Email: wchang@pnwsoft.com -----Original Message----- From: Andoni [mailto:andoni@indigo.ie] Sent: Wednesday, June 18, 2003 6:25 PM To: Tomcat Users List Subject: Precompiling JSPs Hello, I have a build.cmd file that I have had and modified for every project I've done for years. I should probably go learn ANT or some other build technique but for now I want to do this the command line way. I'm not even sure if ANT will do what I want. I want to have my .jsp files made into .java files (easy) then compiled into .class files (hard) before starting my Tomcat. That way I can see any syntax errors in my .jsp files. If I do this at the moment I get a load of errors where one JSP which is included in another uses variables which are only declared in the major one. Is there a way to compile the .java files the way Tomcat does (which takes account of included .jsp's)? Does ANT create .class files? Thanks in advance. Andoni. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org