Thank you so much, Will. 

-----Original Message-----
From: Will Glass-Husain [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 24, 2007 6:37 PM
To: Velocity Users List
Subject: Re: Absolute Path to Template File

You can use the FileResourceLoader.  Set the template path to an empty
string and it will search using absolute rather than relative paths.

WILL

On Dec 23, 2007 7:17 AM, Abrami Avi <[EMAIL PROTECTED]> wrote:
> Hi,
> I am using Velocity 1.5 and JDK 1.6
> I am using method "mergeTemplate()" in class
> "org.apache.velocity.app.Velocity"
> First method parameter is name of Velocity template file.
> Looks like I can only use a relative path.
> Can someone tell me if it is possible to use an absolute path, and if
> so, then how?
>
> Thanks,
> Avi.
>
>



-- 
Forio Business Simulations

Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com

---------------------------------------------------------------------
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