Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 24151 invoked from network); 7 Feb 2001 13:42:06 -0000 Received: from galen.earthdome.org (HELO zathras.earthdome.org) (206.152.117.245) by h31.sny.collab.net with SMTP; 7 Feb 2001 13:42:06 -0000 Received: from voyager.apg.more.net (localhost [127.0.0.1]) by zathras.earthdome.org (8.9.3/8.9.2) with ESMTP id HAA32257 for ; Wed, 7 Feb 2001 07:42:39 -0600 (CST) (envelope-from glenn@voyager.apg.more.net) Sender: glenn@zathras.earthdome.org Message-ID: <3A8150CF.62C29A98@voyager.apg.more.net> Date: Wed, 07 Feb 2001 07:42:39 -0600 From: Glenn Nielsen X-Mailer: Mozilla 4.74 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper CommandLineContext.java References: <20010207040856.7979.qmail@web1902.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Mel Martinez wrote: > > --- Glenn Nielsen wrote: > > > There is no need for all this complexity to generate > > a package name > > in the new Jasper. > > Hmmm... compared to the gobbledy-gook that was being > done before, I'd hardly call what I did complex. > Aside from options, all it does is very simply asign > the JSP page a package name based on it's directory > hierarchy and place the .java and .class files in same > - this is consistant with strict java naming > convention. > > The way jasper now loads jsp > > pages, each page is > > completely isolated from all other pages. Every jsp > > page compiled > > could be a class named "org.apache.jsp.MyJSP" > > without > > any concern whatsoever about conflicts because each > > individual page > > has its own class loader. > > Ah, I see, you avoid file-level conflicts by placing > the generated code into separate directory paths, even > though the package names (currently) do not reflect > the directory locations. Yup, that should work, > although i wouldn't say it is any less complex and I > don't think it is consistent with standard java > package/directory naming conventions. > > > The new jasper makes it very easy to find and view > > the java source for > > a translated jsp page, it is located in > > work/somehost/someapp/some/context/path/MyJSP.java. > > > > Does it not seem logical to assign a package to the > MyJSP class based on all or part of the above path? > > This may seem like esthetics, I suppose. Not > something we should get stressed about. > > What you've done is a great improvement over what was > there. Does it work with tc 3.3? > It should work for tc 3.x, but I don't have the time to back port it. ---------------------------------------------------------------------- Glenn Nielsen glenn@more.net | /* Spelin donut madder | MOREnet System Programming | * if iz ina coment. | Missouri Research and Education Network | */ | ----------------------------------------------------------------------