velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Art Gillespie <>
Subject Re: Problem with resource path
Date Thu, 29 Mar 2001 19:10:41 GMT
That's correct. Velocity uses the directory from which
Tomcat was launched.  I've been using ../webapps/myapp in
the file.resource.loader.path property or even the
full path.  TTBOM

Art Gillespie

On Thu, Mar 29, 2001 at 11:09:52AM -0500, Jeff Beekman wrote:
> Hello All,
> I've been through the archives, and found some things that look like they
> may be aspects of this problem (which may be a bug, but is probably a
> misconfiguration). I'm new to Java, Tomcat and Velocity, so it is probably
> my error.
> Simply put, Velocity is trying to find templates using what appears to be
> the base JVM context, e.g., when I try to run the servlet_example1 include
> in the Vel distribution, i get a FileResourceNotFound exception and the path
> D:\opt\jakarta-tomcat-4.0-b1\bin\.\sample.vm.
> Why is Velocity using this path rather than the webapps context? Let me know
> if there's any configuration information I can post that will help. I
> suspect it is a simple problem. Those always get me... =)
> _______________
> Jeff Beekman
> Programmer/Analyst - Advanced Support Technologies
> VERITAS Software
> 407.531.7534
---end quoted text---

View raw message