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 17779 invoked from network); 15 Oct 1999 01:44:28 -0000 Received: from rolandlee.com (HELO gefionsoftware.com) (gefion@209.210.26.71) by apache.org with SMTP; 15 Oct 1999 01:44:28 -0000 Received: from gefionsoftware.com (pool0183.cvx17-bradley.dialup.earthlink.net [209.179.232.183]) by gefionsoftware.com (8.8.8/8.7.1) with ESMTP id CAA15054 for ; Fri, 15 Oct 1999 02:26:29 GMT Message-ID: <380686A9.52DA9C4B@gefionsoftware.com> Date: Thu, 14 Oct 1999 18:43:05 -0700 From: Hans Bergsten Organization: Gefion software X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Context.java References: <19991014235741.9786.qmail@hyperreal.org> <380677D6.AF7A0163@eng.sun.com> <38067998.59499C7@eng.sun.com> <38067BBB.5ADA62E7@eng.sun.com> <38068009.D60E4428@eng.sun.com> <380681E4.A5F03E10@eng.sun.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jason Hunter wrote: > > > Good points, Jason. I'll look into the getAttributeNames() thingy. > > I'm not real eager to see this appear with a gAN() call. It'll be ugly > to have in the reference impl (and I'm paying attention to this since > I'll either have to explain this bloody thing in my book or risk having > readers ask why there's this attrib in *their* Tomcat server that's not > shown in my Tomcat screen shot -- either way a yuck). > > > Also, I don't want to allow someone to setAttribute, this one > > ("servlet.classpath"). (Security?) What do you think? > > I say mangle the name and leave the hack in getAttribute(), and unless > you look at the src you won't notice. As it stands you might notice > since it's a commonish name. > > > However, if someone wants to pick the > > JSP engine and use it with their servlet engine, we felt some name > > slightly more neutral (since it isn't a servlet engine from the Apache > > software project) would be better. > > It's passing information TO the Tomcat JSP engine, so mangling the name > according to the component receiving the info seems fine. > org.apache.jasper.classpath or something. I agree. We had this discussion earlier and just picked one alternative. Now I see we picked the wrong one ;-) "org.apache.jasper.classpath" is better and not including it in getAN is also a good approach. Hans -- Hans Bergsten hans@gefionsoftware.com Gefion Software http://www.gefionsoftware.com