From tomcat-user-return-38191-qmlist-jakarta-archive-tomcat-user=jakarta.apache.org@jakarta.apache.org Fri Oct 18 23:50:33 2002 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 21174 invoked from network); 18 Oct 2002 23:50:33 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 18 Oct 2002 23:50:33 -0000 Received: (qmail 22576 invoked by uid 97); 18 Oct 2002 23:51:09 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 22560 invoked by uid 97); 18 Oct 2002 23:51:08 -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 22548 invoked by uid 98); 18 Oct 2002 23:51:08 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3DB09E45.5070908@apache.org> Date: Fri, 18 Oct 2002 19:50:29 -0400 From: Jean-Francois Arcand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Please Help: How can I generate .java files from JSP files References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Go under ${catalina.home}/bin and then type jspc.{bat or sh, depending on which machine}. You will invoke manually Jasper (The JSP compiler used by Tomcat) . The following options will be displayed: where jsp files is any number of: A file to be parsed as a jsp page -webapp A directory containing a web-app, all jsp pages will recursivly be parsed where options include: -q Quite mode (same as -v0) -v[#] Verbose mode (optional number is level, default is 2) -d Output Directory -dd Literal Output Directory. (package dirs will not be made) -l Outputs the name of the JSP page upon failure -s Outputs the name of the JSP page upon success -p Name of target package -c Name of target class name (only applies to first JSP page) -mapped Generate separate write() calls for each HTML line in the JSP -die[#] Generate an error return code (#) on fatal errors. If the number is absent or unparsable it defaults to 1. -uribase The uri directory compilations shoule be relative to (Default is "/") -uriroot The root directory that uri files should be resolved against, (Default is the directory jspc is invoked from) -webinc Creates partial servlet mapings for the -webapp option -webxml Creates a complete web.xml when using the -webapp option. -ieplugin Java Plugin classid for Internet Explorer -sax2 Driver class name for the SAX 2.0 parser to be used You have the choice :-) -- Jeanfrancois Carson, Chuck wrote: >What within tomcat pre-compiles the jsp pages into java files so that >they can then be compiled by javac? > >Much thanks, >CC > > >---------- >This message contains confidential information and is intended only for >the individual named. If you are not the named addressee you should not >disseminate, distribute or copy this e-mail. Please notify the sender >immediately by e-mail if you have received this e-mail by mistake and >delete this e-mail from your system. E-mail transmission cannot be >guaranteed to be secure or error-free as information could be >intercepted, corrupted, lost, destroyed, arrive late or incomplete, or >contain viruses. The sender therefore does not accept liability for any >errors or omissions in the contents of this message, which arise as a >result of e-mail transmission. If verification is required please >request a hard-copy version. > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: > > > > -- To unsubscribe, e-mail: For additional commands, e-mail: