You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by JavaJosh <jo...@yahoo.com> on 2002/03/14 07:16:28 UTC

Does tomcat do this?

Servlet 2.3 spec p.63:

"Web containers are recommended to have a mechanism by which web
applications can learn what JAR files containing resources and code are
available, and for making them available to the application. Containers
should provide a convenient procedure for editing and configuring
library files or extensions.

It is recommended that Application developers provide a META-INF/
MANIFEST.MF entry in the WAR file listing extensions, if any, needed by
the WAR.

The format of the manifest entry should follow standard JAR manifest
format. In expressing dependencies on extensions installed on the web
container, the manifest entry should follow the specification for
standard extensions defined at
http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html.
Web Containers should be able to recognize declared dependencies
expressed in the manifest entry of any of the library JARs under the
WEB-INF/lib entry in a WAR. If a web container is not able to satisfy
the dependencies declared in this manner, it should reject the
application with an informative error message."

This seems like a handy way to avoid having the same jar in 10 different
web-inf/lib directories! Does tomcat do it?




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>