标签:
首先看tomcat官方文档,列出的不同版本的主要差别:
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.21 | 7 and later |
3.0 | 2.2 | 2.2 | 1.1 | 7.0.x | 7.0.59 | 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 |
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 |
标签:
原文地址:http://www.cnblogs.com/doit8791/p/4392335.html