You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mark Roth <ma...@sun.com> on 2003/02/13 23:02:32 UTC

[PATCH] jakarta-servletapi-5: API updates

Attached are updates to the JSP 2.0 API and XML Schema files, in gzipped 
format (was too large for tomcat-dev in raw form).

/jsr152/src/share/javax/servlet/jsp/JspContext.java
      - Added throws clause for IllegalArgumentException to setAttribute()
        for when PageContext.SESSION_SCOPE is specified but the requested
        page does not participate in a session.
      - Added throws clause for IllegalArgumentException to getAttribute(
        name, scope ) for when PageContext.SESSION_SCOPE is specified but
        the requested page does not participate in a session.
      - Added throws clause for IllegalArgumentException to
        removeAttribute( name, scope ) for when PageContext.SESSION_SCOPE
        is specified but the requested page does not participate in
        a session.
      - Added throws clause for IllegalArgumentException to
        getAttributeNamesInScope( scope ) for when
        PageContext.SESSION_SCOPE is specified but the requested page
        does not participate in a session.

/jsr152/src/share/dtd/jsp_2_0.xsd:
/jsr154/src/share/dtd/jsp_2_0.xsd:
      - Reformatted indentation

/jsr152/src/share/dtd/web-jsptaglibrary_2_0.xsd:
/jsr154/src/share/dtd/web-jsptaglibrary_2_0.xsd:
      - Moved definitions of j2ee:extensibleType and
        j2ee:tag-extensionType to web-jsptaglibrary_2_0.xsd.
      - Reformatted indentation.
      - Updated EBNF for function-signature element
      - Updated description of version attribute that there is no
        default value.
      - Updated description of tag and tag-file elements to indicate
        that they are not "one or more" but zero or more.

/jsr154/src/share/dtd/j2ee_1_4.xsd:
/jsr154/src/share/dtd/j2ee_web_services_1_1.xsd:
/jsr154/src/share/dtd/j2ee_web_services_client_1_1.xsd:
/jsr154/src/share/dtd/jsp_2_0.xsd
/jsr154/src/share/dtd/web-app_2_4.xsd
      - Updated to the latest, including reformatted indentation.

---
Mark Roth, Java Software
JSP 2.0 Co-Specification Lead
Sun Microsystems, Inc.


Re: [PATCH] jakarta-servletapi-5: API updates

Posted by Mark Roth <ma...@sun.com>.
Minor correction.  IllegalArgumentException should be 
IllegalStateException in the note for JspContext.

---
Mark Roth, Java Software
JSP 2.0 Co-Specification Lead
Sun Microsystems, Inc.


Mark Roth wrote:
> Attached are updates to the JSP 2.0 API and XML Schema files, in gzipped 
> format (was too large for tomcat-dev in raw form).
> 
> /jsr152/src/share/javax/servlet/jsp/JspContext.java
>      - Added throws clause for IllegalArgumentException to setAttribute()
>        for when PageContext.SESSION_SCOPE is specified but the requested
>        page does not participate in a session.
>      - Added throws clause for IllegalArgumentException to getAttribute(
>        name, scope ) for when PageContext.SESSION_SCOPE is specified but
>        the requested page does not participate in a session.
>      - Added throws clause for IllegalArgumentException to
>        removeAttribute( name, scope ) for when PageContext.SESSION_SCOPE
>        is specified but the requested page does not participate in
>        a session.
>      - Added throws clause for IllegalArgumentException to
>        getAttributeNamesInScope( scope ) for when
>        PageContext.SESSION_SCOPE is specified but the requested page
>        does not participate in a session.
> 
> /jsr152/src/share/dtd/jsp_2_0.xsd:
> /jsr154/src/share/dtd/jsp_2_0.xsd:
>      - Reformatted indentation
> 
> /jsr152/src/share/dtd/web-jsptaglibrary_2_0.xsd:
> /jsr154/src/share/dtd/web-jsptaglibrary_2_0.xsd:
>      - Moved definitions of j2ee:extensibleType and
>        j2ee:tag-extensionType to web-jsptaglibrary_2_0.xsd.
>      - Reformatted indentation.
>      - Updated EBNF for function-signature element
>      - Updated description of version attribute that there is no
>        default value.
>      - Updated description of tag and tag-file elements to indicate
>        that they are not "one or more" but zero or more.
> 
> /jsr154/src/share/dtd/j2ee_1_4.xsd:
> /jsr154/src/share/dtd/j2ee_web_services_1_1.xsd:
> /jsr154/src/share/dtd/j2ee_web_services_client_1_1.xsd:
> /jsr154/src/share/dtd/jsp_2_0.xsd
> /jsr154/src/share/dtd/web-app_2_4.xsd
>      - Updated to the latest, including reformatted indentation.
> 
> ---
> Mark Roth, Java Software
> JSP 2.0 Co-Specification Lead
> Sun Microsystems, Inc.
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org