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 Tue, 10 Aug 2010 15:13:59 GMT

--- Comment #6 from Larry Isaacs <> 2010-08-10 11:13:54 EDT ---
I believe the problem is in step 8 in the ContextConfig.webConfig() method. 
Based on my read of the Servlet 3.0 spec (section 4.6 only says JAR and states
order is undefined), the "processResourceJARs(orderedFragments)" should be
"processResourceJARs(fragments)" instead.


Because your web.xml specifies an <absolute-ordering>, jars which do not have a
web-fragment.xml will not appear in the orderedFragments list and won't be
scanned for static resources.  Adding a web-fragment.xml as Konstatin suggests
would work around the problem for now, assuming the <absolute-ordering> can't
be removed.


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