velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quang Thai Le <>
Subject Velocity problem while parsing a template file located on hardisk
Date Wed, 16 Jan 2008 12:39:00 GMT
Dear all,
  I've a template file located on hardisk (I must place my vm files outside my webapp as customer
asked). Now, I try to parse it by using directive #parse as following:
  #parse ("D:/temp/myTemplateFile.vm")
  Unfortunately, the system throws an ResourceNotFoundException exception.
  I tried another solution as below:
  - define loader path in
  file.resource.loader.description = Velocity File Resource Loader 
  - try #parse("myTemplateFile.vm")
  I always have an ResourceNotFoundException.
  Could you please help me?
  Many thanks.

Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message