You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Yutaka Yoshida <Yu...@Sun.Com> on 2003/03/05 05:01:17 UTC

[PATCH] jakarta-servletapi-5: API updates

Hi,

The attached file is updates to the Servlet 2.4 API and XML Schema.
Changes are:

jsr154/src/share/dtd/web-app_2_4.xsd
    - Arbitrary order of sub elements under <web-app>
    - Reformatted indentation

jsr154/src/share/javax/servlet/ServletContext.java
    - Change "2.3" to "2.4" in getMajorVersion() and getMinorVersion()

jsr154/src/share/javax/servlet/ServletContextAttributeListener.java
    - Fix typo
    
jsr154/src/share/javax/servlet/ServletContextListener.java
    - Clarification of contextInitialized() and contextDestroyed()

jsr154/src/share/javax/servlet/ServletRequest.java
    - Clarification of getServerName(), getServerPort(), getRemoteAddr()
      getRemoteHost(), getRequestDispatcher()
    - Add @return in the latest addition of getLocaleName(), getLocalAddr(),
      and getLocalPort()

jsr154/src/share/javax/servlet/ServletRequestWrapper.java
    - Fix the inappropriate comments of the getLocalName(), getLocalAddr(),
      and getLocalPort()

jsr154/src/share/javax/servlet/ServletResponse.java
    - Internationalization clarification

jsr154/src/share/javax/servlet/SingleThreadModel.java
    - Deprecate SingleThreadModel

jsr154/src/share/javax/servlet/http/HttpServlet.java
    - Change the URL of HTTP/1.1 to RFC2616

jsr154/src/share/javax/servlet/http/HttpServletRequest.java
    - Allow vendor specific auth type in getAuthType()
    - Clarification of getHeader(), getPathInfo(), getPathTranslated(),
      getRequestedSessionId(), getServletPath()

jsr154/src/share/javax/servlet/http/HttpServletResponse.java
    - Clarification of sendError()
    - Add recommendation of RFC2047 in setHeader() and addHeader()

jsr154/src/share/javax/servlet/http/HttpSessionListener.java
    - Change the sessionDestroyed() to notify *before* the session
      is invalidated.

--------------
Yutaka Yoshida
Java/XML Software Group
Sun Microsystems Inc.



Re: [PATCH] jakarta-servletapi-5: fix description

Posted by Yuta Yoshida <Yu...@Sun.COM>.
The attached file is to update the
servlet2.4 deployment descriptor schema

jsr154/src/share/dtd/web-app_2_4.xsd
     Update the 'year' in the copyright

thank you,
yutaka yoshida
Sun Microsystems, Inc.


[PATCH] jakarta-servletapi-5: fix description

Posted by Yuta Yoshida <Yu...@Sun.COM>.
Hi,

The attached file is to update the servlet2.4 API.

jsr154/src/share/javax/servlet/ServletRequest.java
     Fix the confusing description in getServerName()
     and getServerPort() - change "host header" to
     "host header value".

thank you,
yutaka yoshida
Sun Microsystems, Inc.


[PATCH] jakarta-servletapi-5: schema updates

Posted by yuta <Yu...@Sun.COM>.
Hi,

The attached file is to fix the bug in the Servlet 2.4
deployment descriptor schema file.

jsr154/share/dtd/web-app_2_4.xsd
     The "name" in <xsd:key>,<xsd:keyref>, and <xsd:unique>
     must be unique within the j2ee namespace.

Thank you,
Yutaka Yoshida
Sun Microsystems