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 Mon, 09 Aug 2010 13:48:48 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49721

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

Wang,

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
vote).

Cheers,
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