Servlet和JSP规范及版本对应关系
JSR 53: Java TM Servlet 2.3 and JavaServer Pages TM 1.2
JSR 154: Java TM Servlet 2.4
JSR 154: Java TM Servlet 2.5(Maintenance Release 2)
JSR 315: Java TM Servlet 3.0(This JSR will be an update to the existing Servlet 2.5 specification.)
JSR 152: JavaServer Pages TM 2.0
JSR 245: JavaServer TM Pages 2.1
JSR 127: JavaServer TM Faces
JSR 252: JavaServer TM Faces 1.2
JSR 314: JavaServer TM 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.27.0.x7.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.0TBD
(2.4?)
servlet和tomcat的关系TBD
(3.1?)TBD (1.2?)9.0.x None8 and later
3.1  2.3  3.0  1.18.0.x8.0.157 and later
3.0  2.2  2.2  1.17.0.x7.0.576 and later
(WebSocket 1.1 requires 7 or later)
later)
2.5  2.1  2.1N/A  6.0.x  6.0.43  5 and later 2.4  2.0N/A N/A  5.5.x (archived)  5.5.36 (archived)  1.4 and later 2.3  1.2N/A N/A  4.1.x (archived)  4.1.40 (archived)  1.3 and later 2.2  1.1N/A N/A
3.3.x (archived)  3.3.2 (archived)  1.1 and later

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。