I don't think so, because the default resource loader used by the VVS is the 
WebappResourceLoader,
which uses the method ServletContext.getResourceAsStream( ).

I'm afraid this is hardcoded... (but how to bypass the defaults defined in the core ?)

But it can be subclassed to use the ClasspathResourceLoader (or even both loaders).

Claude

----- Original Message ----- 
From: "Tim Colson" <[EMAIL PROTECTED]>
To: "'Velocity Developers List'" <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 2004 3:08 AM
Subject: VelocityViewServlet and Jar resources?


> Say, will VelocityViewServlet automagically pull in templates & macros from
> a JAR dropped inside WEB-INF\lib? 
> 
> Timo
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to