Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 24241 invoked from network); 26 Jul 2000 18:59:40 -0000 Received: from lukla.sun.com (192.18.98.31) by locus.apache.org with SMTP; 26 Jul 2000 18:59:40 -0000 Received: from eastmail1.East.Sun.COM ([129.148.1.240]) by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id MAA19052 for ; Wed, 26 Jul 2000 12:59:36 -0600 (MDT) Received: from swanaba.east (swanaba.East.Sun.COM [129.148.162.54]) by eastmail1.East.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id OAA07992 for ; Wed, 26 Jul 2000 14:59:33 -0400 (EDT) Received: from eng.sun.com (swantty.East.Sun.COM [129.148.162.52]) by swanaba.east (8.8.8+Sun/8.8.8) with ESMTP id OAA12402 for ; Wed, 26 Jul 2000 14:58:42 -0400 (EDT) Message-ID: <397F3535.BC15A04A@eng.sun.com> Date: Wed, 26 Jul 2000 12:00:05 -0700 From: "Craig R. McClanahan" X-Mailer: Mozilla 4.72 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: javax.servlet.ServletContext missing two methods References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Faustas.Zilinskas@firstunion.com wrote: > Hi, > > I wonder if anyone else has noticed the problem with the latest version > Java Servlet specification 2.2. > > If you look at the servlet.jar file (which contains all the standardized > interfaces), the interface javax.servlet.ServletContext doesn't define > these methods: > > public java.lang.String getInitParameter(java.lang.String name) > public java.util.Enumeration getInitParameterNames() > > I think they should be defined, because servlet specification 2.2 (page 23) and Java Servlet > API documentation (generated by javadoc) do include them. > > I wounder if there is some reason why they are not defined. > Where did you get your "servlet.jar" file from? The servlet.jar that comes with Tomcat certainly includes these methods. > > Faustas Zilinskas > First Union Craig McClanahan