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 1958 invoked from network); 15 Oct 1999 01:23:57 -0000 Received: from mercury.sun.com (192.9.25.1) by apache.org with SMTP; 15 Oct 1999 01:23:57 -0000 Received: from engmail4.Eng.Sun.COM ([129.144.134.6]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id SAA17270 for ; Thu, 14 Oct 1999 18:23:56 -0700 (PDT) Received: from taller.eng.sun.com (taller.Eng.Sun.COM [129.144.252.34]) by engmail4.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with SMTP id SAA05115 for ; Thu, 14 Oct 1999 18:23:54 -0700 (PDT) Received: from eng.sun.com by taller.eng.sun.com (SMI-8.6/SMI-SVR4) id SAA24636; Thu, 14 Oct 1999 18:23:54 -0700 Message-ID: <380681E4.A5F03E10@eng.sun.com> Date: Thu, 14 Oct 1999 18:22:44 -0700 From: Jason Hunter X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: ja,en,fr-BE,es,zh-TW,af,zh-CN,nl,ru,ko,tr,fr,de 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > 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. -jh-