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 - 1.2
+++ jsr154/src/share/javax/servlet/Filter.java 18 Sep 2003 23:34:58 -
@@ -114,7 +114,7 @@
* filter content or headers for output filtering
* 4. a) Either invoke the next entity in the chain using the
FilterChain object (chain.doFilter()),
** 4. b) or not pass on the request/response pair to the next
entity in the filter chain to block the request processing
- ** 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 -
1.1.1.1
+++ jsr154/src/share/javax/servlet/FilterChain.java 18 Sep 2003 23:34:58 -
@@ -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 -
1.2
+++ jsr154/src/share/javax/servlet/GenericServlet.java 18 Sep 2003 23:34:58 -
@@ -136,7 +136,7 @@
* of the initialization parameter
*
* @return String a String 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 -
1.5
+++ jsr154/src/share/javax/servlet/ServletContext.java 18 Sep 2003 23:34:58 -
@@ -674,7 +674,7 @@
public void removeAttribute(String name);
/**
- * Returns the name of this web application correponding to this ServletContext
as specified in the deploym