C开发者_JAVA百科ontrary to the documentation, is it possible to use Servlet specification 3 with Tomcat 6?
Is it possible to use the servlet 3 spec with tomcat 6?
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, 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.
UPDATE
The first non-beta Tomcat 7.0 releases came out in January 2011.
精彩评论