tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: [tomcat] branch master updated: Fix JSP compilation showing old content reported on users@ list
Date Thu, 07 Nov 2019 11:57:33 GMT
On 07/11/2019 11:50, Rémy Maucherat wrote:
> On Thu, Nov 7, 2019 at 12:38 PM <markt@apache.org
> <mailto:markt@apache.org>> wrote:
> 
>     +         * One option to resolve this issue is to use a custom URL
>     scheme for
>     +         * resource URLs. This would allow us, via registration of a
>     +         * URLStreamHandlerFactory, to control how the resources
>     are accessed
>     +         * and ensure that all access go via the cache We took this
>     approach for
>     +         * war: URLs so we can use jar:war:file: URLs to reference
>     resources in
>     +         * unpacked WAR files. However, because
>     URL.setURLStreamHandlerFactory()
>     +         * may only be caused once, this can cause problems when
>     using other
>     +         * libraries that also want to use a custom URL scheme.
> 
> 
> That's how it was done in Tomcat 7, and going down that route would mean
> bringing back everything including the classloader bindings. So let's
> try to avoid it.

+1

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


Mime
View raw message