JSR 53: JavaTM Servlet 2.3 and JavaServer PagesTM 1.2
JSR 154: JavaTM Servlet 2.4
JSR 154: JavaTM Servlet 2.5(Maintenance Release 2)
JSR 315: JavaTM Servlet 3.0(This JSR will be an update to the existing Servlet 2.5 specification. )
JSR 152: JavaServer PagesTM 2.0
JSR 245: JavaServerTM Pages 2.1
JSR 127: JavaServerTM Faces
JSR 252: JavaServerTM Faces 1.2
JSR 314: JavaServerTM Faces 2.0
Servlet和JSP规范版本对应关系:
Servlet规范版本 | JSP版本 | JSF版本 | JAVA EE版本 |
Servlet2.3 | JSP1.2、JSP1.1 | J2EE1.3 | |
Servlet2.4 | JSP2.0 | JSF1.1 | J2EE1.4 |
Servlet2.5 | JSP2.1 | JSF1.2、JSF2.0 | Java EE5 |
Servlet3.0 | JSP2.2 | Java EE6 |
Tomcat所对应的Servlet/JSP规范和JDK版本:
Servlet/JSP Spec | Apache Tomcat version | Actual release revision | Minimum Java Version |
---|---|---|---|
3.0/2.2 | 7.0.x | 7.0.12 | 1.6 |
2.5/2.1 | 6.0.x | 6.0.32 | 1.5 |
2.4/2.0 | 5.5.x | 5.5.33 | 1.4 |
2.3/1.2 | 4.1.x (archived) | 4.1.40 (archived) | 1.3 |
2.2/1.1 | 3.3.x (archived) | 3.3.2 (archived) | 1.1 |
Apache官方对各版本的解释
Servlet Spec | JSP Spec | EL Spec | WebSocket Spec | Apache Tomcat version | Actual release revision | Support Java Versions |
---|---|---|---|---|---|---|
4.0 | TBD (2.4?) | TBD (3.1?) | TBD (1.2?) | 9.0.x | None | 8 and later |
3.1 | 2.3 | 3.0 | 1.1 | 8.0.x | 8.0.15 | 7 and later |
3.0 | 2.2 | 2.2 | 1.1 | 7.0.x | 7.0.57 | 6 and later (WebSocket 1.1 requires 7 or later) |
2.5 | 2.1 | 2.1 | N/A | 6.0.x | 6.0.43 | 5 and later |
2.4 | 2.0 | N/A | N/A | 5.5.x (archived) | 5.5.36 (archived) | 1.4 and later |
2.3 | 1.2 | N/A | N/A | 4.1.x (archived) | 4.1.40 (archived) | 1.3 and later |
2.2 | 1.1 | N/A | N/A | 3.3.x (archived) | 3.3.2 (archived) | 1.1 and later |