You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Craig R. McClanahan" <cr...@apache.org> on 2001/03/17 01:48:02 UTC

Tomcat 4.0 Changes for Servlet 2.3 API Refinements

This message is an FYI to let you know that tonight's nightly build of
Tomcat 4.0 will reflect several minor changes in the servlet API that is
listed in the Servlet Specification 2.3 (Proposed Final Draft):
- In javax.servlet.Filter, remove getFilterConfig().
- In javax.servlet.Filter, replace setFilterConfig() with
  init(FilterConfig) and destroy() to be more like servlets.
- Change listener interface names to singular instead of plural
  (ServletContextAttributeListener, HttpSessionAttributeListener)
  for consistency with other APIs.
- Add a String argument to ServletContext.getResourcePaths() to let you
  specify the "directory" within the WAR for which you wish to acquire
  resources paths.  Entries that are themselves subdirectories will be
  returned with a trailing slash to indicate this.
- In javax.servlet.http.HttpServletRequest, fixed a typo in the String
  constant value for CLIENT_CERT_AUTH.
- Correct the punctuation of the request attribute names used to
  expose SSL cipher suite and key size information, to be consistent
  with the other attribute names.

These changes have been approved by the JSR-053 expert group, and will
appear in the next draft version of the 2.3 specification.

If you are building Tomcat 4.0 from source, you will want to pick up
tonight's version of the "jakarta-servletapi-4" distirbution as well, so
that your servlet classes reflect the changes.

Craig McClanahan