Hi,

The attached file is to update the Servlet 2.4 API.
Changes are synchronizing with the latest specification
and fixing a typo and a bad indentation. All semantics
stay the same.

========================================================
o Fix typo and indentation:
jsr154/src/share/javax/servlet/Filter.java
jsr154/src/share/javax/servlet/FilterChain.java
jsr154/src/share/javax/servlet/GenericServlet.java
jsr154/src/share/javax/servlet/ServletContext.java
jsr154/src/share/javax/servlet/ServletContextAttributeEvent.java
jsr154/src/share/javax/servlet/ServletContextAttributeListener.java
jsr154/src/share/javax/servlet/ServletContextEvent.java
jsr154/src/share/javax/servlet/ServletOutputStream.java
jsr154/src/share/javax/servlet/ServletRequest.java
jsr154/src/share/javax/servlet/ServletResponse.java
jsr154/src/share/javax/servlet/http/HttpServletRequest.java
jsr154/src/share/javax/servlet/http/HttpServletResponse.java
jsr154/src/share/javax/servlet/http/HttpSession.java
jsr154/src/share/javax/servlet/http/HttpSessionBindingEvent.java

o Synchronize with the spec:
jsr154/src/share/javax/servlet/ServletContextListener.java
jsr154/src/share/javax/servlet/ServletRequestAttributeEvent.java
jsr154/src/share/javax/servlet/ServletRequestAttributeListener.java
jsr154/src/share/javax/servlet/ServletRequestEvent.java
jsr154/src/share/javax/servlet/ServletRequestListener.java
==========================================================

Thank you,
Yutaka Yoshida
Sun Microsystems



Index: jsr154/src/share/javax/servlet/Filter.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/Filter.java,v
retrieving revision 1.2
diff -u -r1.2 Filter.java
--- jsr154/src/share/javax/servlet/Filter.java  18 Aug 2003 16:50:33 -0000      1.2
+++ jsr154/src/share/javax/servlet/Filter.java  18 Sep 2003 23:34:58 -0000
@@ -114,7 +114,7 @@
        * filter content or headers for output filtering <br>
        * 4. a) <strong>Either</strong> invoke the next entity in the chain using the 
FilterChain object (<code>chain.doFilter()</code>), <br>   
        ** 4. b) <strong>or</strong> not pass on the request/response pair to the next 
entity in the filter chain to block the request processing<br>
-       ** 5. Directly set headers on the response after invocation of the next entity 
in ther filter chain.
+       ** 5. Directly set headers on the response after invocation of the next entity 
in the filter chain.
        **/
     public void doFilter ( ServletRequest request, ServletResponse response, 
FilterChain chain ) throws IOException, ServletException;
 
Index: jsr154/src/share/javax/servlet/FilterChain.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/FilterChain.java,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 FilterChain.java
--- jsr154/src/share/javax/servlet/FilterChain.java     13 Aug 2002 16:21:42 -0000     
 1.1.1.1
+++ jsr154/src/share/javax/servlet/FilterChain.java     18 Sep 2003 23:34:58 -0000
@@ -66,7 +66,7 @@
     * A FilterChain is an object provided by the servlet container to the developer
     * giving a view into the invocation chain of a filtered request for a resource. 
Filters
     * use the FilterChain to invoke the next filter in the chain, or if the calling 
filter
-    * is the last filter in the chain, to invoke the rosource at the end of the chain.
+    * is the last filter in the chain, to invoke the resource at the end of the chain.
     *
     * @see Filter
     * @since Servlet 2.3
Index: jsr154/src/share/javax/servlet/GenericServlet.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/GenericServlet.java,v
retrieving revision 1.2
diff -u -r1.2 GenericServlet.java
--- jsr154/src/share/javax/servlet/GenericServlet.java  11 Jan 2003 00:26:02 -0000     
 1.2
+++ jsr154/src/share/javax/servlet/GenericServlet.java  18 Sep 2003 23:34:58 -0000
@@ -136,7 +136,7 @@
      *                         of the initialization parameter
      *
      * @return String          a <code>String</code> containing the value
-     *                         of the initalization parameter
+     *                         of the initialization parameter
      *
      */ 
 
Index: jsr154/src/share/javax/servlet/ServletContext.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletContext.java,v
retrieving revision 1.5
diff -u -r1.5 ServletContext.java
--- jsr154/src/share/javax/servlet/ServletContext.java  2 Sep 2003 21:14:10 -0000      
 1.5
+++ jsr154/src/share/javax/servlet/ServletContext.java  18 Sep 2003 23:34:58 -0000
@@ -674,7 +674,7 @@
     public void removeAttribute(String name);
     
     /**
-     * Returns the name of this web application correponding to this ServletContext 
as specified in the deployment
+     * Returns the name of this web application corresponding to this ServletContext 
as specified in the deployment
      * descriptor for this web application by the display-name element.
      *
      *
Index: jsr154/src/share/javax/servlet/ServletContextAttributeEvent.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletContextAttributeEvent.java,v
retrieving revision 1.2
diff -u -r1.2 ServletContextAttributeEvent.java
--- jsr154/src/share/javax/servlet/ServletContextAttributeEvent.java    18 Aug 2003 
16:50:33 -0000      1.2
+++ jsr154/src/share/javax/servlet/ServletContextAttributeEvent.java    18 Sep 2003 
23:34:58 -0000
@@ -91,7 +91,7 @@
        
        /**
        * Returns the value of the attribute that has been added, removed, or replaced.
-       * If the attribute was added, this is the value of the attribute. If the 
attrubute was
+       * If the attribute was added, this is the value of the attribute. If the 
attribute was
        * removed, this is the value of the removed attribute. If the attribute was 
replaced, this
        * is the old value of the attribute.
        *
Index: jsr154/src/share/javax/servlet/ServletContextAttributeListener.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletContextAttributeListener.java,v
retrieving revision 1.2
diff -u -r1.2 ServletContextAttributeListener.java
--- jsr154/src/share/javax/servlet/ServletContextAttributeListener.java 5 Mar 2003 
19:42:48 -0000       1.2
+++ jsr154/src/share/javax/servlet/ServletContextAttributeListener.java 18 Sep 2003 
23:34:58 -0000
@@ -2,9 +2,9 @@
 
 import java.util.EventListener;
 
-       /** Implementations of this interface recieve notifications of
+       /** Implementations of this interface receive notifications of
        ** changes to the attribute list on the servlet context of a web application. 
-       * To recieve notification events, the implementation class
+       * To receive notification events, the implementation class
        * must be configured in the deployment descriptor for the web application.
        * @see ServletContextAttributeEvent
         * @since       v 2.3
Index: jsr154/src/share/javax/servlet/ServletContextEvent.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletContextEvent.java,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ServletContextEvent.java
--- jsr154/src/share/javax/servlet/ServletContextEvent.java     13 Aug 2002 16:21:43 
-0000      1.1.1.1
+++ jsr154/src/share/javax/servlet/ServletContextEvent.java     18 Sep 2003 23:34:58 
-0000
@@ -62,26 +62,27 @@
 
 
        /** 
-       * This is the event class for notifications about changes to the servlet 
context of a web application.
-       * @see ServletContextListener
+        * This is the event class for notifications about changes to
+        * the servlet context of a web application.
+        * @see ServletContextListener
         * @since       v 2.3
-       */
+        */
 
 public class ServletContextEvent extends java.util.EventObject { 
 
        /** Construct a ServletContextEvent from the given context.
-       *
-       * @param source - the ServletContext that is sending the event.
+        *
+        * @param source - the ServletContext that is sending the event.
         */
     public ServletContextEvent(ServletContext source) {
        super(source);
     }
     
        /**
-       * Return the ServletContext that changed.
-       *
-       * @return the ServletContext that sent the event.
-       */
+        * Return the ServletContext that changed.
+        *
+        * @return the ServletContext that sent the event.
+        */
     public ServletContext getServletContext () { 
        return (ServletContext) super.getSource();
     }
Index: jsr154/src/share/javax/servlet/ServletContextListener.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletContextListener.java,v
retrieving revision 1.3
diff -u -r1.3 ServletContextListener.java
--- jsr154/src/share/javax/servlet/ServletContextListener.java  18 Aug 2003 16:50:33 
-0000      1.3
+++ jsr154/src/share/javax/servlet/ServletContextListener.java  18 Sep 2003 23:34:58 
-0000
@@ -63,26 +63,33 @@
 import java.util.EventListener;
 
        /** 
-       * Implementations of this interface recieve notifications about changes to the 
servlet context of the web application they are part of.
-       * To recieve notification events, the implementation class
-       * must be configured in the deployment descriptor for the web application.
-       * @see ServletContextEvent
+        * Implementations of this interface receive notifications about
+        * changes to the servlet context of the web application they are
+        * part of.
+        * To receive notification events, the implementation class
+        * must be configured in the deployment descriptor for the web
+        * application.
+        * @see ServletContextEvent
         * @since       v 2.3
-       */
+        */
 
 public interface ServletContextListener extends EventListener {
-       /** Notification that the web application initialization
-       ** process is starting.
-       ** All ServletContextListeners are notified of context
-       ** initialisation before any filter or servlet in the web
-       ** application is initialized.
-       */
+       /**
+        ** Notification that the web application initialization
+        ** process is starting.
+        ** All ServletContextListeners are notified of context
+        ** initialization before any filter or servlet in the web
+        ** application is initialized.
+        */
 
     public void contextInitialized ( ServletContextEvent sce );
 
-       /** Notification that the servlet context is about to be shut down. All 
servlets
-       have been destroy()ed before any ServletContextListeners are notified of 
context
-       destruction. */
+       /**
+        ** Notification that the servlet context is about to be shut down.
+        ** All servlets and filters have been destroy()ed before any
+        ** ServletContextListeners are notified of context
+        ** destruction.
+        */
     public void contextDestroyed ( ServletContextEvent sce );
 }
 
Index: jsr154/src/share/javax/servlet/ServletOutputStream.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletOutputStream.java,v
retrieving revision 1.2
diff -u -r1.2 ServletOutputStream.java
--- jsr154/src/share/javax/servlet/ServletOutputStream.java     18 Aug 2003 16:50:33 
-0000      1.2
+++ jsr154/src/share/javax/servlet/ServletOutputStream.java     18 Sep 2003 23:34:58 
-0000
@@ -276,7 +276,7 @@
      * followed by a carriage return-line feed (CRLF).
      *
      *
-     * @param s                        the </code>String</code> to write to the client
+     * @param s                        the <code>String</code> to write to the client
      *
      * @exception IOException  if an input or output exception occurred
      *
Index: jsr154/src/share/javax/servlet/ServletRequest.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletRequest.java,v
retrieving revision 1.7
diff -u -r1.7 ServletRequest.java
--- jsr154/src/share/javax/servlet/ServletRequest.java  2 Sep 2003 21:14:10 -0000      
 1.7
+++ jsr154/src/share/javax/servlet/ServletRequest.java  18 Sep 2003 23:34:58 -0000
@@ -147,7 +147,7 @@
      * 
      *
      * @return         a <code>String</code> containing the name of 
-     *                 the chararacter encoding, or <code>null</code>
+     *                 the character encoding, or <code>null</code>
      *                 if the request does not specify a character encoding
      *
      */
@@ -161,7 +161,7 @@
      * 
      *
      * @param env      a <code>String</code> containing the name of 
-     *                 the chararacter encoding.
+     *                 the character encoding.
      * @throws         java.io.UnsupportedEncodingException if this is not a valid 
encoding
      */
 
@@ -451,7 +451,10 @@
      * reserved for use by Sun Microsystems.
      *<br> If the object passed in is null, the effect is the same as
      * calling [EMAIL PROTECTED] #removeAttribute}.
-     *
+     * <br> It is warned that when the request is dispatched from the
+     * servlet resides in a different web application by
+     * <code>RequestDispatcher</code>, the object set by this method
+     * may not be correctly retrieved in the caller servlet.
      *
      *
      * @param name                     a <code>String</code> specifying 
@@ -593,6 +596,8 @@
     /**
      * Returns the Internet Protocol (IP) source port of the client
      * or last proxy that sent the request.
+     *
+     * @return an integer specifying the port number
      *
      * @since 2.4
      */    
Index: jsr154/src/share/javax/servlet/ServletRequestAttributeEvent.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletRequestAttributeEvent.java,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ServletRequestAttributeEvent.java
--- jsr154/src/share/javax/servlet/ServletRequestAttributeEvent.java    13 Aug 2002 
16:21:44 -0000      1.1.1.1
+++ jsr154/src/share/javax/servlet/ServletRequestAttributeEvent.java    18 Sep 2003 
23:34:58 -0000
@@ -62,23 +62,24 @@
 
 
     /** 
-      * This is the event class for notifications about changes to the 
-      * attributes of the servlet request of a web application.
+      * This is the event class for notifications of changes to the 
+      * attributes of the servlet request in an application.
       * @see ServletRequestAttributeListener
-      * @since v 2.4
+      * @since Servlet 2.4
       */
 
 public class ServletRequestAttributeEvent extends ServletRequestEvent { 
     private String name;
     private Object value;
 
-    /** Construct a ServletRequestAttributeEvent from the given context for the
-      * given attribute name and attribute value. 
+     /** Construct a ServletRequestAttributeEvent giving the servlet context
+      * of this web application, the ServletRequest whose attributes are
+      * changing and the name and value of the attribute.
       *
-      * @param sc - the ServletContext that is sending the event.
-      * @param request - the ServletRequest that is sending the event.
-      * @param name - the name of the request attribute.
-      * @param value - the value of the request attribute.
+      * @param sc              the ServletContext that is sending the event.
+      * @param request         the ServletRequest that is sending the event.
+      * @param name            the name of the request attribute.
+      * @param value           the value of the request attribute.
       */
     public ServletRequestAttributeEvent(ServletContext sc, ServletRequest request, 
String name, Object value) {
         super(sc, request);
@@ -89,20 +90,20 @@
     /**
       * Return the name of the attribute that changed on the ServletRequest.
       *
-      * @return String - the name of the changed request attribute.
+      * @return                the name of the changed request attribute
       */
     public String getName() {
         return this.name;
     }
 
     /**
-      * Returns the value of the attribute that has been added removed or 
+      * Returns the value of the attribute that has been added, removed or 
       * replaced. If the attribute was added, this is the value of the 
       * attribute. If the attribute was removed, this is the value of the 
       * removed attribute. If the attribute was replaced, this is the old 
       * value of the attribute.
       *
-      * @return Object - the value of the changed request attribute.
+      * @return                the value of the changed request attribute
       */
     public Object getValue() {
         return this.value;   
Index: jsr154/src/share/javax/servlet/ServletRequestAttributeListener.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletRequestAttributeListener.java,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ServletRequestAttributeListener.java
--- jsr154/src/share/javax/servlet/ServletRequestAttributeListener.java 13 Aug 2002 
16:21:42 -0000      1.1.1.1
+++ jsr154/src/share/javax/servlet/ServletRequestAttributeListener.java 18 Sep 2003 
23:34:58 -0000
@@ -68,23 +68,33 @@
 
 import java.util.EventListener;
 
-    /** Implementations of this interface receive notifications of
-      * changes to the attribute list on the servlet request of a 
-      * web application. 
-      * To receive notification events, the implementation class
-      * must be configured in the deployment descriptor for the web application.
-      * @see ServletRequestAttributeEvent
-      * @since v 2.4
+    /**
+     * A ServletRequestAttributeListener can be implemented by the
+     * developer interested in being notified of request attribute
+     * changes. Notifications will be generated while the request
+     * is within the scope of the web application in which the listener
+     * is registered. A request is defined as coming into scope when
+     * it is about to enter the first servlet or filter in each web
+     * application, as going out of scope when it exits the last servlet
+     * or the first filter in the chain.
+     *
+     * @since Servlet 2.4
      */
 
 public interface ServletRequestAttributeListener extends EventListener {
-    /** Notification that a new attribute was added to the servlet request. Called 
after the attribute is added.*/
+    /** Notification that a new attribute was added to the
+     ** servlet request. Called after the attribute is added.
+     */
     public void attributeAdded(ServletRequestAttributeEvent srae);
 
-    /** Notification that an existing attribute has been removed from the servlet 
request. Called after the attribute is removed.*/
+    /** Notification that an existing attribute has been removed from the
+     ** servlet request. Called after the attribute is removed.
+     */
     public void attributeRemoved(ServletRequestAttributeEvent srae);
 
-    /** Notification that an attribute on the servlet request has been replaced. 
Called after the attribute is replaced. */
+    /** Notification that an attribute was replaced on the
+     ** servlet request. Called after the attribute is replaced.
+     */
     public void attributeReplaced(ServletRequestAttributeEvent srae);
 }
 
Index: jsr154/src/share/javax/servlet/ServletRequestEvent.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletRequestEvent.java,v
retrieving revision 1.3
diff -u -r1.3 ServletRequestEvent.java
--- jsr154/src/share/javax/servlet/ServletRequestEvent.java     29 Oct 2002 19:33:16 
-0000      1.3
+++ jsr154/src/share/javax/servlet/ServletRequestEvent.java     18 Sep 2003 23:34:58 
-0000
@@ -62,19 +62,22 @@
 
 
     /** 
-      * This is the event class for notifications about changes to the 
-      * servlet request of a web application.
+      * Events of this kind indicate lifecycle
+      * events for a ServletRequest.
+      * The source of the event
+      * is the ServletContext of this web application.
       * @see ServletRequestListener
-      * @since v 2.4
+      * @since Servlet 2.4
       */
 
 public class ServletRequestEvent extends java.util.EventObject { 
     private ServletRequest request;
 
-    /** Construct a ServletRequestEvent from the given context.
+    /** Construct a ServletRequestEvent for the given ServletContext
+      * and ServletRequest.
       *
-      * @param sc - the ServletContext of the web application.
-      * @param request - the ServletRequest that is sending the event.
+      * @param sc              the ServletContext of the web application.
+      * @param request         the ServletRequest that is sending the event.
       */
     public ServletRequestEvent(ServletContext sc, ServletRequest request) {
         super(sc);
@@ -82,18 +85,14 @@
     }
     
     /**
-      * Return the ServletRequest that changed.
-      *
-      * @return the ServletRequest that sent the event.
+      * Returns the ServletRequest that is changing.
       */
     public ServletRequest getServletRequest () { 
         return this.request;
     }
 
     /**
-      * Return the ServletContext that changed.
-      *
-      * @return the ServletContext of the web application.
+      * Returns the ServletContext of this web application.
       */
     public ServletContext getServletContext () { 
         return (ServletContext) super.getSource();
Index: jsr154/src/share/javax/servlet/ServletRequestListener.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletRequestListener.java,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ServletRequestListener.java
--- jsr154/src/share/javax/servlet/ServletRequestListener.java  13 Aug 2002 16:21:42 
-0000      1.1.1.1
+++ jsr154/src/share/javax/servlet/ServletRequestListener.java  18 Sep 2003 23:34:58 
-0000
@@ -62,20 +62,23 @@
 
 import java.util.EventListener;
 
-    /** 
-      * Implementations of this interface recieve notifications about changes
-      * to the servlet request of the web application they are part of.
-      * To receive notification events, the implementation class
-      * must be configured in the deployment descriptor for the web 
-      * application.
-      * @see ServletContextEvent
-      * @since v 2.4
-      */
+    /**
+     * A ServletRequestListener can be implemented by the developer
+     * interested in being notified of requests coming in and out of
+     * scope in a web component. A request is defined as coming into
+     * scope when it is about to enter the first servlet or filter
+     * in each web application, as going out of scope when it exits
+     * the last servlet or the first filter in the chain.
+     *
+     * @since Servlet 2.4
+     */
+
 
 public interface ServletRequestListener extends EventListener {
-    /** Notification that the servlet request is about to go out of scope. */
+
+    /** The request is about to go out of scope of the web application. */
     public void requestDestroyed ( ServletRequestEvent sre );
 
-    /** Notification that the servlet request is about to go into scope.  */
+    /** The request is about to come into scope of the web application. */
     public void requestInitialized ( ServletRequestEvent sre );
 }
Index: jsr154/src/share/javax/servlet/ServletResponse.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletResponse.java,v
retrieving revision 1.5
diff -u -r1.5 ServletResponse.java
--- jsr154/src/share/javax/servlet/ServletResponse.java 2 Sep 2003 21:14:10 -0000      
 1.5
+++ jsr154/src/share/javax/servlet/ServletResponse.java 18 Sep 2003 23:34:58 -0000
@@ -396,7 +396,7 @@
 
     /**
      * Returns a boolean indicating if the response has been
-     * committed.  A commited response has already had its status 
+     * committed.  A committed response has already had its status 
      * code and headers written.
      *
      * @return         a boolean indicating if the response has been
Index: jsr154/src/share/javax/servlet/http/HttpServletRequest.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpServletRequest.java,v
retrieving revision 1.5
diff -u -r1.5 HttpServletRequest.java
--- jsr154/src/share/javax/servlet/http/HttpServletRequest.java 18 Aug 2003 16:50:33 
-0000      1.5
+++ jsr154/src/share/javax/servlet/http/HttpServletRequest.java 18 Sep 2003 23:34:58 
-0000
@@ -169,7 +169,7 @@
      *                         since January 1, 1970 GMT,
      *                         or -1 if the named header
      *                         was not included with the
-     *                         reqest
+     *                         request
      *
      * @exception      IllegalArgumentException        If the header value
      *                                                 can't be converted
Index: jsr154/src/share/javax/servlet/http/HttpServletResponse.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpServletResponse.java,v
retrieving revision 1.6
diff -u -r1.6 HttpServletResponse.java
--- jsr154/src/share/javax/servlet/http/HttpServletResponse.java        2 Sep 2003 
21:14:10 -0000       1.6
+++ jsr154/src/share/javax/servlet/http/HttpServletResponse.java        18 Sep 2003 
23:34:58 -0000
@@ -135,7 +135,7 @@
      * includes the logic to determine whether the session ID
      * needs to be encoded in the URL.  Because the rules for making
      * this determination can differ from those used to decide whether to
-     * encode a normal link, this method is separete from the
+     * encode a normal link, this method is separated from the
      * <code>encodeURL</code> method.
      * 
      * <p>All URLs sent to the <code>HttpServletResponse.sendRedirect</code>
@@ -339,7 +339,7 @@
      * set the return status code when there is no error (for example,
      * for the status codes SC_OK or SC_MOVED_TEMPORARILY).  If there
      * is an error, and the caller wishes to invoke an error-page defined
-     * in the web applicaion, the <code>sendError</code> method should be used
+     * in the web application, the <code>sendError</code> method should be used
      * instead.
      * <p> The container clears the buffer and sets the Location header, preserving
      * cookies and other headers.
Index: jsr154/src/share/javax/servlet/http/HttpSession.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpSession.java,v
retrieving revision 1.4
diff -u -r1.4 HttpSession.java
--- jsr154/src/share/javax/servlet/http/HttpSession.java        18 Aug 2003 16:50:33 
-0000      1.4
+++ jsr154/src/share/javax/servlet/http/HttpSession.java        18 Sep 2003 23:34:58 
-0000
@@ -89,7 +89,7 @@
  * the servlet notifies the object that it has been bound to or unbound 
  * from the session. Notifications are sent after the binding methods complete. 
  * For session that are invalidated or expire, notifications are sent after
- * the session has been invalidatd or expired.
+ * the session has been invalidated or expired.
  *
  * <p> When container migrates a session between VMs in a distributed container
  * setting, all session attributes implementing the [EMAIL PROTECTED] 
HttpSessionActivationListener}
Index: jsr154/src/share/javax/servlet/http/HttpSessionBindingEvent.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpSessionBindingEvent.java,v
retrieving revision 1.2
diff -u -r1.2 HttpSessionBindingEvent.java
--- jsr154/src/share/javax/servlet/http/HttpSessionBindingEvent.java    2 Sep 2003 
21:14:10 -0000       1.2
+++ jsr154/src/share/javax/servlet/http/HttpSessionBindingEvent.java    18 Sep 2003 
23:34:58 -0000
@@ -175,7 +175,7 @@
     
     /**
        * Returns the value of the attribute that has been added, removed or replaced.
-       * If the attribute was added (or bound), this is the value of the attribute. 
If the attrubute was
+       * If the attribute was added (or bound), this is the value of the attribute. 
If the attribute was
        * removed (or unbound), this is the value of the removed attribute. If the 
attribute was replaced, this
        * is the old value of the attribute.
        *

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to