velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Bednarz" <l...@bednarz.ch>
Subject Re: HELP with Velocity Tools needed
Date Mon, 02 Jun 2003 08:33:25 GMT
Many thanks Nathan. I looked at the samples and found that lots of things
have changed in the past 12 months.

However I got the thing going now! Sorry for the stupid questions but since
I am developing in many different languages and on complex middle-ware I use
lots of different technologies. It is simply inpossible to follow-up the
discussions of all technologies I use just to be up-to-date!

Tom


----- Original Message ----- 
From: "Nathan Bubna" <nathan@esha.com>
To: "Velocity Users List" <velocity-user@jakarta.apache.org>
Sent: Friday, May 30, 2003 6:04 PM
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@esha.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message