Hello, First of all, thanks for your reply.
2014-08-11 0:24 GMT+02:00 Konstantin Kolinko <knst.koli...@gmail.com>: > > It says "Java classes and resources". > It does not say "webapp resources". > > It is ClassLoader.getResource(). It is not ServletContext.getResource(). > Ok, there is no reference to "webapp resources" nor to "which kind of resources" are available using it. > VirtualWebappLoader only adds the jars into Webapp's classpath > They are not citizens of WEB-INF/lib. But if that .jar's added using the loader are not "citizens" of WEB-INF/lib, but they are "in the classloading", IMHO I only see half of the benefits of using this loader. One of the main focuses of Tomcat is accessing webapp resources, but using any of the methods in our hands, and one of the methods is using ServletContext. Thanks! -- Lucas