Tomcat 6与servlet 3规范

时间:2020-11-30 11:50:36

Contrary to the documentation, is it possible to use Servlet specification 3 with Tomcat 6?

与文档相反,是否可以在Tomcat 6中使用Servlet规范3?

1 个解决方案

#1


8  

Is it possible to use the servlet 3 spec with tomcat 6?

可以在tomcat 6中使用servlet 3规范吗?

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.

我怀疑这是一个实用的选择。您需要将Tomcat 7 servlet v3堆栈向后移植到Tomcat 6.在此过程中,您很可能遇到需要大量工作才能解决的各种Tomcat内部基础架构问题。

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.

IMO,如果您想尝试依赖于Tomcat上Servlet V3规范的Web应用程序,最好的办法是尝试Tomcat 7 beta。或者,Glassfish v3现在处于生产版本,它实现了Servlet 3.0版规范。


UPDATE

The first non-beta Tomcat 7.0 releases came out in January 2011.

第一个非beta Tomcat 7.0版本于2011年1月发布。

#1


8  

Is it possible to use the servlet 3 spec with tomcat 6?

可以在tomcat 6中使用servlet 3规范吗?

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.

我怀疑这是一个实用的选择。您需要将Tomcat 7 servlet v3堆栈向后移植到Tomcat 6.在此过程中,您很可能遇到需要大量工作才能解决的各种Tomcat内部基础架构问题。

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.

IMO,如果您想尝试依赖于Tomcat上Servlet V3规范的Web应用程序,最好的办法是尝试Tomcat 7 beta。或者,Glassfish v3现在处于生产版本,它实现了Servlet 3.0版规范。


UPDATE

The first non-beta Tomcat 7.0 releases came out in January 2011.

第一个非beta Tomcat 7.0版本于2011年1月发布。