I'm still thinking that the loader path is the key to your problem; if it
were me I'd be experimenting with setting different likely values (such as
'/' or the webapp name). I'd also want to confirm that Velocity is actually
reading the right property file (I've been caught out by that one before,
where it was using default settings because my .properties wasn't in the
right place).

As I mentioned I usually jar up the templates, but before I started doing
that as a matter of course I'd put the templates under WEB-INF - that way
it makes it impossible for a client to request raw templates by name.

--Pete

Christopher Schultz <[EMAIL PROTECTED]> wrote on 10/06/2008
01:59:56 PM:

> Peter,
>
> [EMAIL PROTECTED] wrote:
> > Don't you have to set webapp.resource.loader.path=/WEB-INF/?
>
> Definitely not: my templates are in the webapp's root, not inside
WEB-INF.
>
> -chris
>
>
> [attachment "signature.asc" deleted by Peter Ford/NOC/BLM/DOI]


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

Reply via email to