https://issues.apache.org/bugzilla/show_bug.cgi?id=47834

--- Comment #3 from Guillaume Sauthier <[email protected]> 
2009-09-14 09:43:50 PDT ---
Thanks for the review Mark.

I cannot use the TC7 trunk from JOnAS (bound to TC 6.0.20 for now), so I gave
it a try using a pure tomcat.

I took a simple web app with a jar unpacked in the WEB-INF/lib directory.
It doesn't work as expected :'(

In tldScanWebInfLib(), when you get the resource paths from WEB-INF/lib, my jar
file is there, but the String is of the form: "<something>.jar/". The trailing
'/' is a problem because you test for ".jar" only.

Anyway, even if something was found, I think the current code is wrong in
handling directories: in tldScanJar() the first thing we do is opening the URL
to get the URLConnection. If the URL is referring to a directory, we will very
quickly get an IOException.

I'll work on a refined patch tomorrow.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to