logo       

Re: HELP with Velocity Tools needed: msg#00182

jakarta.velocity.user

Subject: Re: HELP with Velocity Tools needed

Tom said:
...
> I have configured Velocity as follows:
>
> In the web.xml of my application :
...
> - <init-param>
> <param-name>toolbox</param-name>
> <param-value>/WEB-INF/toolbox.xml</param-value>
> </init-param>
> - <init-param>
> <param-name>properties</param-name>
> <param-value>/WEB-INF/config/velocity.properties</param-value>
> </init-param>

these are the wrong keys. several months ago they were changed to
"org.apache.velocity.toolbox" and "org.apache.velocity.properties"
instead of just "properties" and "toolbox"

these changes have been reflected in the example apps and project documentation
for some time now.

also, for future reference, if it ever appears that a tool is not functioning,
you should immediately check the logs to see whether that tool was loaded. by
default, velocity-tools logs to the servlet context, and will log the loading of
the toolbox at application init time.

Nathan Bubna
nathan@xxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise