Did you configure the FileResourceLoader with a path? If so, you shouldn't.
I've never tried this with a UNC style path. Does something simple like
"/abc.txt" work? (should retrieve c:\abc.txt).
Also, you may get better support on the user list. I'm responding to that
list.
WILL
On 8/17/07, rnon <[EMAIL PROTECTED]> wrote:
>
>
> the code:
> Velocity.mergeTemplate("\\\\networkcomputer\\shared$\\template.vm",
> "UTF-8",
> context, sw);
> gives error:
> SEVERE: ResourceManager : unable to find resource in any resource loader.
>
>
> can someone gives me example of how to use absolute path?
> I'm using velocity 1.5 and I see there's update on
> FileResourceLoader class
> that allow usage of absolute path, but I don't know how to use it...
>
> thank you for the help
>
> --
> View this message in context:
> http://www.nabble.com/absolute-path-for-template-file-tf4287074.html#a12203692
> Sent from the Velocity - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com