tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49721] Fail to access the resources such as jsp files from a jar file which is supported by servlet 3.0
Date Mon, 09 Aug 2010 13:48:48 GMT

--- Comment #2 from Larry Isaacs <> 2010-08-09 09:48:40 EDT ---
Hi Konstantin,

During my work on the Tomcat support in Eclipse Web Tools, the only requirement
I found in the Servlet 3.0 spec for static resources in a jar was that they be
found under "META-INF/resources" in the jar.  I didn't see any requirement that
the jar be a web-fragment.


Since this behavior is only defined for Servlet 3.0 web applications, if your
project has a web.xml, make sure it is a Servlet 3.0 web.xml in addition to
making sure the JSP is in the "META-INF/resources" folder of the jar.  A quick
test shows this working for me for Tomcat 7.0.0 and 7.0.2 (currently under


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message