You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/01/01 15:35:44 UTC
DO NOT REPLY [Bug 50535] New: Support resources serving from
/WEB-INF/classes/META-INF/resources directory
https://issues.apache.org/bugzilla/show_bug.cgi?id=50535
Summary: Support resources serving from
/WEB-INF/classes/META-INF/resources directory
Product: Tomcat 7
Version: 7.0.5
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: kiralyattila.hu@gmail.com
Servlet 3.0 introduced the feature to serve static files from
META-INF/resources directory. The specification only demands support for this
if the META-INF/resources is inside of a jar file in the /WEB-INF/lib
directory.
Tomcat passes this requirement because it serves files from jar but not from
WEB-INF/classes. It seems Glassfish 3.0.1 however supports both type of
locations. It would be nice if Tomcat would support it too.
--
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
DO NOT REPLY [Bug 50535] Support resources serving from
/WEB-INF/classes/META-INF/resources directory
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50535
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-01-20 11:39:49 EST ---
Application server specific extensions to the Servlet specification are a
really bad idea since they harm portability - the reason why we have a
specification in the first place. On that basis I almost closed this one as
WONTFIX.
However, I do see a valid use case and one that I suspect will lead to a change
in the spec. Some environments, particularly IDEs, unpack all their JARs into
the WEB-INF/classes directory. This would break static resources in JARs.
Enabling this option works around this issue.
Since this is a proprietary extension, it is disabled by default and controlled
by an attribute on the StandardContext but is not part of the Context
interface.
--
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
DO NOT REPLY [Bug 50535] Support resources serving from
/WEB-INF/classes/META-INF/resources directory
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50535
Attila Király <ki...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kiralyattila.hu@gmail.com
--
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