velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <>
Subject Re: Velocity tools
Date Wed, 08 Dec 2004 21:47:32 GMT
> >  What's the best practice for adding a Velocity Tool to the context in
> > a standalone app?
> > is it manually with something like "context.put("tool", new *Tool())" or
> > there's a configuration setting I'm missing?

Shinobu Kawai <> wrote:
> I guess that's the normal method.  Or, you can use the toolbox
> strategy like VelocityViewServlet and DVSL.
> ## It's not built into Velocity, so you'll have to implement if
> yourself, though.

If you came up with a standalone toolbox loader using the same format as 
toolbox.xml and posted it, it might end up in the next version of velocity 
tools :)

XMLToolboxManager probably does most if not all of what you need already.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message