tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=49721

--- Comment #6 from Larry Isaacs <Larry.Isaacs@sas.com> 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.

Wang,

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.

Larry

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message