On Fri, 6 Oct 2000, Peng Yong wrote:
>
> 1. examples/sample.vm
>
> > #foreach $name in $theList
> < #foreach ($name in $theList)
>
> 2. examples/SampleServlet.java
>
> > outty = getTemplate("sample.wm");
> < outty = getTemplate("sample.vm");
>
> 3. i got some strange errors in the servlet log file. it report error at
> different place at different time. the template file is
> examples/sample.vm. the attach is the error log file.
Yes, the syntax has changed in the last little while. And
there are going to be some problems for the next little while.
I urge you not to use Velocity in production yet.
jvz.