it works, thank you so much

Gonzalo Diethelm-2 wrote:
> 
> I suggest you NEVER use the backslash character for path delimiters. As
> far as I know, C, C++, C# and Java all understand the forward slash as a
> path separator, with the benefits of portable code and not having to
> quote and re-quote the backslash. Therefore, try something
> like //netcomp/shared$/template.vm.
> 
> Hope that helps. Best regards.
> 
> On Fri, 2007-08-17 at 10:19 -0700, rnon 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
>> 
> 
> 
> -- 
> Gonzalo Diethelm
> [EMAIL PROTECTED]
> 
> 

-- 
View this message in context: 
http://www.nabble.com/absolute-path-for-template-file-tf4287074.html#a12236936
Sent from the Velocity - Dev mailing list archive at Nabble.com.


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

Reply via email to