John Harris wrote:
> 
> I'm trying to get ClasspathResourceLoader working. I had this working as documented 
>with a previous release of velocity-1.1-dev, but I can't get it to work right with 
>velocity-1.1-rc1 (or velocity-1.0.1).
> 
> I'm running tomcat 3.2.1 with velocity-1.1-rc1.
> 
> The webapp is configured as follows:
> 1. webapp/velocity.properties file is
> resource.loader = class
> class.resource.loader.description = Velocity Classpath Resource Loader
> class.resource.loader.class = 
>org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2. webapp/WEB-INF/lib/sample.vm
>     webapp/WEB-INF/lib/velocity-1.1-rc1.jar
> 3. webapp/WEB-INF/web.xml - has appropriate info for SampleServlet
> 
> The only way I can get velocity to find and serve sample.vm is by starting tomcat 
>from webapp/WEB-INF/lib directory, and not jarring sample.vm...any other combinations 
>refuse to work with the same "handleRequest(Context) returned null - no template 
>selected!" exception.
> 
> Any ideas?

No :)  I'll try it - nothing should have changed in this going from
1.1-dev to 1.1-rc1

geir

-- 
Geir Magnusson Jr.                           [EMAIL PROTECTED]
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
"still climbing up to the shoulders..."

Reply via email to