On 4/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Ughhhh. No go yet assuming I should have compiled off of trunk.
i'm not sure what that sentence means. but the VelocityViewServlet and friends should work just fine with any relatively modern version of Velocity. but, out of curiosity, what version of VelocityTools are you using? > I don't need to add anything to the toolbox.xml do I to get it to work? no, that wouldn't have anything to do with the exception below. > Odd I didn't need to worry about any of this in 1.4, but maybe just > the changes mentioned. the stuff we're doing should > I looked up the links you showed, but not sure I am seeing anything > wrong with what I am doing in comparison. what about your logs? assuming the template is really at the path requested below, the VVS should find it. so i'm thinking the init stuff didn't take. check your logs for errors or otherwise wrong data during startup. oh, half-baked idea. try *adding* these line to your props: webapp.resource.loader.path = / file.resource.loader.path = / both resource loaders should support multiple paths, but if this doesn't help, then delete these lines and forget that i mentioned it. :) > The bottom of my file now looks like: > > resource.loader = file,webapp > > file.resource.loader.class = > org.apache.velocity.runtime.resource.loader.FileResourceLoader > file.resource.loader.path = /WEB-INF/templates > file.resource.loader.cache = true > file.resource.loader.modificationCheckInterval = 1800 > > webapp.resource.loader.class = > org.apache.velocity.tools.view.servlet.WebappLoader > webapp.resource.loader.path = /WEB-INF/templates > webapp.resource.loader.cache = true > webapp.resource.loader.modificationCheckInterval = 1800 > > ---------------------------------------------------------------------- > > > Unable to find resource > '/WEB-INF/templates/pub/common/tiles/defaultTemplate.vm' > > org.apache.velocity.exception.ResourceNotFoundException: Unable to find > resource '/WEB-INF/templates/pub/common/tiles/defaultTemplate.vm' ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
