Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 69764 invoked from network); 9 May 2000 19:55:25 -0000 Received: from lukla.sun.com (192.18.98.31) by locus.apache.org with SMTP; 9 May 2000 19:55:25 -0000 Received: from centralmail1.Central.Sun.COM ([129.147.62.10]) by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id NAA10678 for ; Tue, 9 May 2000 13:55:25 -0600 (MDT) Received: from esun1as-mm. (esun1as-mm.Central.Sun.COM [129.147.34.144]) by centralmail1.Central.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with SMTP id NAA22011 for ; Tue, 9 May 2000 13:51:54 -0600 (MDT) Received: from eng.sun.com by esun1as-mm. (SMI-8.6/SMI-SVR4) id NAA07998; Tue, 9 May 2000 13:52:45 -0600 Message-ID: <39186C1E.B27CBEED@eng.sun.com> Date: Tue, 09 May 2000 12:50:54 -0700 From: "Craig R. McClanahan" X-Mailer: Mozilla 4.72 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: Where does Tomcat compile JSP->Servlet code? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N "Hubbard, Charles (ISSAtlanta)" wrote: > I am actually curious as to where in the tomcat source code does it turn the > jsp code into the servlet java file. I would like to add some functionality > to it. > The code that does the compilation is in package org.apache.jasper.compiler in the source tree. I would suggest starting from the code of the JSP servlet itself (org.apache.jasper.runtime.JspServlet) and follow its logic for when it decides to go do the compilation. > > thanks > charlie > Craig McClanahan