JSRs: Java Specification Requests
JSR 53: JavaTM Servlet 2.3 and JavaServer PagesTM 1.2 Specifications
JCP version in use: 2.1
Java Specification Participation Agreement version in use: 1.0
The next versions of the JavaTM Servlet and JavaServer PagesTM (JSP) specifications.
Please direct comments on this JSR to the Spec Lead(s)
Original Java Specification Request (JSR)
Identification | Request | Contributions
Section 1: Identification
Submitting Participant: Eduardo Pelegri-Llopart and Danny Coward Java Software, Sun Microsystems, Inc. 901 San Antonio Rd, MS UCUP02-201, Palo Alto, CA 94303 Phone: +1 408 343 1456 and +1 408 343 3551 Email: Eduardo.Pelegrillopart@eng.sun.com Danny.Coward@eng.sun.com
Other Participants Endorsing this JSR
Most partners that participated in the definitions of Servlet 2.2 and JSP 1.1 specifications have already expressed interest in participating in the expert group for Servlet 2.3 and JSP 1.2. Partners that are endorsing this JSR include:
Section 2: Request
This JSR requests the creation of the next versions of the Java Servlet and JavaServer Pages specifications. The version numbers tentatively assigned are Servlet 2.3 and JSP 1.2. These two specifications will be part of the Java 2 Enterprise Edition platform.
Since the JavaServer Pages specifications are tightly defined on top
of the Java Servlet specifications, we plan to define both
specifications in parallel to eliminate discrepancies and confusion,
and to reduce development cost. We plan to structure the
documentation so that the Java Servlet specification can be used
independently of the JavaServer Pages specification,
The Servlet 2.2 and JSP 1.1 specifications are part of the Java 2
Enterprise Edition, version 1.2 (J2EE 1.2) platform.
We expect that this proposed specifications will be part of the next
release of the J2EE Platform.
As with the current versions of the specification,
we expect the new versions to be usable on the J2SE platform.
The new Servlet and JSP specifications will add some functionality that was already known to be missing from the current specifications and that was not incorporated due to time constraints or because additional research was needed before determining the correct approach.
In addition, the new Servlet and JSP specifications will incorporate new functionality requested by our parterns and the public, reflecting, in some cases, their quickly evolving needs.
The requirement areas we intend to address include, but are not limited to, the following:
In some cases the same solution may address multiple requirements. Also, in some cases, the best response to the requirement may be outside of the specification.
2.3 Explanation of why the need isn't met by existing specifications
As discussed above, these areas are largely unspecified in Servlet 2.2
and JSP 1.1. Consequently, Web Application authors, server vendors and
tool vendors must either ignore these areas or offer support using
We request the development of a new version of the Servlet specification
and a companion new version of the JavaServer Pages specification.
A detailed description of Servlet 2.2 and JSP 1.1 functionality can
be found in the respective specification documents, which can be downloaded
from the sites at http://java.sun.com/product/servlet/download.html and
We expect to use the existing packages used by the Servlet 2.2
and JSP 1.1 specifications: javax.servlet, javax.servlet.jsp,
Security mechanisms must be compatible with the security facilities of J2SE 1.3.
Improved internationalization and locatization capabilities for JSP and
Servlets is one of the key goals of this JSR, as noted above.
In the absence of these new specifications, it is highly likely that Web containers providers will develop container-specific mechanisms to support the facilities listed in section 2.2 of this document. If this occurs it will limit the portability of Servlet and JSP applications and tools.
An analysis of partner needs must be done to determine whether it is possible
to target the new specifications exclusively to the Java 2 platform,
or if the earlier versions of the specification still need to be considered.
A primary goal is backward compatibility.
All applications that use the Servlet 2.2 and JSP 1.2 specifications
must be compatible with Servlet 2.3 and JSP 1.2 specifications.
See 2.11 above.
3.1 List of relevant existing documents:
JavaServer Pages Specification, Version 1.1
Java Servlet Specification, Version 2.2
Java 2 Platform, Enterprise Edition Specification Version 1.2
The Java 2 Platform, Enterprise Edition Application Programming Model
JSR-039, "Java Servlet and JavaServer Pages Performance"
JSR-045, "Debugging Support for Other Languages"
JSR-052, "A Standard Tag Library for JavaServer Pages" (in preparation)
These Servlet 2.3 and JSP 1.2 specifications will be based on the current Servlet 2.2 and JSP 1.1 specifications. The Application Programming Model work will be used to ground the new designs. The J2EE documents provide context for the use of Servlets and JSP within the J2EE platform.
We expect to take advantage of the experience gained from a number of projects, including several that are represented in the endorsement list.
JSR-052, "A Standard Tag Library for JavaServer Pages" requests the creation of a standard JSP tag library; that specification effort will have a symbiotic relationship with this one. Similarly, we expect to take advantage of JSR-045 "Debugging Support for Other Languages" to provide improved debugging support for JSP. Finally, we expect to start getting some feedback from and input into JSR-039, "Java Servlet and JavaServer Pages Performance".