On 06/09/2013 17:15, Daniel Mikusa wrote:
> I'm looking at the new resources implementation in Tomcat 8 and I see
> that there are three ways to define a resource in a Context.  With a
> PreResources, JarResources or PostResources tag.
> 
> My question, what is the difference between JarResources and
> PostResources?

JarResources are equivalent to including a JAR with a META-INF/resoucres
directory in WEB-INF/lib

Arguably, users shouldn't be configuring these at all and the ability to
do so could be removed.

Mark

> From the docs, the main difference between PreResources and
> PostResources appears to be the order in which they are searched.
> PreResources are check before the main resources and PostResources
> are checked after the main resources.  With that, what are
> JarResources used for?  Both JarResources and PostResources are
> searched after the main resources.  What is the distinction between
> the two?  When would you use one over the other?
> 
> Thanks
> 
> Dan
> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to