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 01:18:46 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49721

--- Comment #3 from Wang Guangzhe <rafaa.wang@gmail.com> 2010-08-09 21:18:41 EDT ---
(In reply to comment #2)
> 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

Hi, Larry

I also test an very simple case where there are only one jar file in the lib,
it runs well. But when there are more than one jar files, it fails.

I attach the two war files and please help to verify.

Thanks!

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