If I put my VMs in a java package would to I refer to them when I do the
getTemplate.

As for the other solutions - I'll look into your first solution - although I
think since this gets deployed on a shared JVM I may not be able to do so.

I still have to research how to use WebappResourceLoader.

Thanks.
Frank


-----Original Message-----
From: Claude Brisson [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 15, 2008 10:00 AM
To: Velocity Users List
Subject: Re: Resource Loader Question

Several solutions....

 - put /WEB-INF/classes/VMs in your classpath
 - use a WebappResourceLoader (if you are using VelocityTools)
initialized with this path
 - put your templates in a "VMs" java package


  Claude


Le vendredi 15 février 2008 à 08:21 -0500, Frank A. a écrit :
> I'd like to store all my Velocity templates in a folder off of my
> WEB-INF/classes directory, e.g. WEB-INF/classes/VMs.  Can I do so?  Would
I
> still use the classpath loader?  If so how do I refer to the file when
> executing the getTemplate() method?
> 
>  
> 
> Thanks
> 
>  
> 


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




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

Reply via email to