About Contact me Presentations rss feed  rss

NVelocity Parse

23 Jul 2008

A little thing that drove me completely insane

when using parse (appache ref) the path to the view includes the folder that you are in

say you are in the folder …/views/Blog
editing a view called one.vm
if you want to parse something in the same folder as one.vm you have to use

and if you happen to use a / before blog you ll get a nice exception that has a very unclear message

Just to note

If you want to discuss this post, the best place right now for me is mastodon, please message me with your comment/question.