带有 servlet 3 规范的 Tomcat 6 [英] Tomcat 6 with servlet 3 spec
问题描述
与文档相反,是否可以将 Servlet 规范 3 与 Tomcat 6 一起使用?
Contrary to the documentation, is it possible to use Servlet specification 3 with Tomcat 6?
推荐答案
是否可以在 tomcat 6 中使用 servlet 3 规范?
Is it possible to use the servlet 3 spec with tomcat 6?
我怀疑这是一个实用的选择.您需要将 Tomcat 7 servlet v3 堆栈向后移植到 Tomcat 6.在此过程中,您很有可能会遇到各种需要大量工作才能解决的 Tomcat 内部基础设施问题.
I doubt this is a practical option. You'd need to backport the Tomcat 7 servlet v3 stack to Tomcat 6. In the process, there is a good chance you'd run into various Tomcat internal infrastructure issues that require significant work to address.
IMO,如果您想在 Tomcat 上试验依赖 Servlet V3 规范的 Web 应用程序,最好的办法是尝试 Tomcat 7 测试版.或者,Glassfish v3 现已发布生产版本,它实现了 Servlet 3.0 版规范.
IMO, if you want to experiment with web applications that depend on the Servlet V3 specs on Tomcat your best bet is to try a Tomcat 7 beta. Alternatively, Glassfish v3 is now in production release and this implements the Servlet version 3.0 specification.
更新
第一个非测试版 Tomcat 7.0 发布于 2011 年 1 月.
The first non-beta Tomcat 7.0 releases came out in January 2011.
这篇关于带有 servlet 3 规范的 Tomcat 6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!