tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Tomcat 7 servlet library
Date Mon, 10 Dec 2012 16:32:42 GMT
2012/12/10 Eugen Paraschiv <>:
> Hi,
> I have a quick question about the exact version of the servlet library
> packaged with Tomcat 7, and maybe the overall servlet spec.
> Tomcat comes with it's own, custom build jar, published here on Maven
> central:
> Is there a separation between the implementation of the spec and the
> contract? More to the point - is there a way Tomcat could use a standard
> version of the servlet jar (for which it has it's own internal
> implementation)?

> is there a way Tomcat could use a standard version of the servlet jar

1. No.

See ch.15.2.1 of the Servlet 3.0 specification. The Sevlet API classes
are provided by the container (Tomcat). You are not allowed to provide
a different implementation of them in your web application.

(If you attempt to bundle a different version of Servlet API classes,
the relevant JAR will be ignored and a warning will be logged).

2. The current versions of Tomcat 7 implement Servlet Specification 3.0 Rev. a.
(JSR 315 Maintenance Release, 06 Feb, 2011)

3. Official Tomcat downloads are at
The jars at Maven are just a convenience.

Tomcat source code includes classes in several javax.* packages. The
jar in question is built from those.

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message