The page 70 references look like typos. The spec's definition of the API classes themselves (p. 144 and p. 226) don't have the "s", and that is likewise true of the classes in servlet.jar.
Craig McClanahan On Fri, 26 Jul 2002, Ian McFarland wrote: > Date: Fri, 26 Jul 2002 23:13:01 -0700 > From: Ian McFarland <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Cc: Ian McFarland <[EMAIL PROTECTED]> > Subject: Question on differences between spec and Tomcat class library > > Hey, I was just noticing that the names of two of the interfaces > defined in the Tomcat 2.3 spec (two of the Lifecycle listeners) don't > match the classnames in the Tomcat library. Which one is right? > > According to the spec (servlet-2_3-fcs-spec.pdf page 70, marked final, > dated 8/13/01) the class names are > > javax.servlet.ServletContextAttributesListener > javax.servlet.http.HttpSessionAttributesListener > > In the servlet.jar that comes with Tomcat (4.1.7b, at least) they're > called: > > javax.servlet.ServletContextAttributeListener > javax.servlet.http.HttpSessionAttributeListener > > Note the additional 's' at the end of attributes in both cases. > > Which is right? > > Just want to make sure my listeners are portable! > > Thanks in advance. > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>