Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 17639 invoked from network); 30 Jun 2003 04:36:55 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 30 Jun 2003 04:36:55 -0000 Received: (qmail 17861 invoked by uid 97); 30 Jun 2003 04:39:29 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 17854 invoked from network); 30 Jun 2003 04:39:29 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 30 Jun 2003 04:39:29 -0000 Received: (qmail 16204 invoked by uid 500); 30 Jun 2003 04:36:43 -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 16191 invoked from network); 30 Jun 2003 04:36:43 -0000 Received: from adsl-67-119-72-241.dsl.sntc01.pacbell.net (HELO BLACKCOMB.corp.mailfrontier.com) (67.119.72.241) by daedalus.apache.org with SMTP; 30 Jun 2003 04:36:43 -0000 Received: from Heavenly ([10.1.2.30]) by BLACKCOMB.corp.mailfrontier.com with Microsoft SMTPSVC(5.0.2195.5329); Sun, 29 Jun 2003 21:36:53 -0700 Message-ID: <001501c33ec1$40ff0190$1e02010a@corp.mailfrontier.com> Reply-To: "Billy Ng" From: "Billy Ng" To: "Tomcat Users List" Cc: References: <03af01c33e85$d8457930$1e02010a@corp.mailfrontier.com> <3EFF8B0E.40905@joedog.org> Subject: Re: why tomcat append WEB_0002dINF... to the precompiled jsp package Date: Sun, 29 Jun 2003 21:37:03 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-OriginalArrivalTime: 30 Jun 2003 04:36:53.0747 (UTC) FILETIME=[3B16DC30:01C33EC1] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I know it make more sense to do appending . But the funny part is it won't append the src path in 4.1.12. It appends the src path in 4.1.24. The inconsistentency confused me. Billy Ng ----- Original Message ----- From: "Tim Funk" To: "Tomcat Users List" Sent: Sunday, June 29, 2003 5:57 PM Subject: Re: why tomcat append WEB_0002dINF... to the precompiled jsp package > Why not? > > When a page is precompiled (or even compiled at run time) - all that is > required is a valid java class name. (By the spec). > > So it could be legal for tomcat to translate every jsp into a class called > more.Cowbell.java. This is ok since every JSP is loaded under its own class > loader. > > But this would be a pain for debuggers since any breakpoint in the > "more.Cowbell" class could turn into debugging hell. So the naming of classes > is some composite of what you see below. > > -Tim > > Billy Ng wrote: > > Hi folks, > > > > I am using ant to precompile the jsp files. Let's say the in package name is "com.mycompany.jsp" and the jsp file is in the /jsp/admin/logon. > > > > After the jsp compiled to java, the package name becomes > > > > com.mycompany.jsp.WEB_0002dINF.jsp.admin.logon > > > > Why? > > > > Thanks! > > > > Billy Ng > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org