Hi Carfield,

> You mean I should set the classloader using the following statement?
> 
>        // by default, load resources with webapp resource loader
>        velocity.setProperty(RuntimeConstants.RESOURCE_LOADER, "webapp");
>        velocity.setProperty("webapp.resource.loader.class",
>                             WebappLoader.class.getName());

If you mean the ResourceLoader.  :)
VelocityViewServlet uses this ResourceLoader by default.  But wait a
minute, it loads resources via ServletContext#getResourceAsStream(). 
Not sure, but I don't think that looks into the classpath.

Best regards,
-- Shinobu

--
Shinobu "Kawai" Yoshida <[EMAIL PROTECTED]>

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

Reply via email to