velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Glass-Husain" <wgl...@forio.com>
Subject Re: problem loading templates
Date Mon, 06 Mar 2006 15:37:40 GMT
George is right.

Or use the latest code from the source control head, which solves this
problem.  (It looks in the Thread's context classloader so it finds the
templates).

WILL


On 3/6/06, George Joseph <GJoseph@jny.com> wrote:
>
> Are you using classpath loader?
>
> If yes, then put your templates jar (jar which have the velocity
> templates) in the same directory as velocity.jar.
>
>
>
> -----Original Message-----
> From: Richard Huegill [mailto:richardh65_@hotmail.com]
> Sent: Monday, March 06, 2006 5:43 AM
> To: velocity-user@jakarta.apache.org
> Subject: problem loading templates
>
> I have an app which has templates, in web-inf/templates dir. (working
> fine).
> I decided to move all my jars from the war file to the common dir under
> tomcat. now I can't load my templates, same directory, but it can't find
>
> them. has anyone tried this before ? is there a trick ?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
> ######################################################################
>
> NOTICE:
> The contents of this e-mail and any attachments to it may contain
> privileged and confidential information from Jones Apparel Group, Inc.
> or its affiliates.  This information is only for the viewing or use
> of the intended recipient.  If you are not the intended recipient,
> you are hereby notified that any disclosure, copying, distribution or
> use of, or the taking of any action in reliance upon, the information
> contained in this e-mail, or any of the attachments to this e-mail,
> is strictly prohibited.  If you have received this e-mail in error,
> please immediately notify the sender by replying to this message and
> delete it from your system.
>
> ######################################################################
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>


--
_______________________________________
Forio Business Simulations

Will Glass-Husain
phone (415) 440-7500 x89
mobile (415) 235-4293
wglass@forio.com
www.forio.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message