velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Scott Stevens <>
Subject Re: Velocity vmlibs
Date Fri, 17 May 2002 03:38:49 GMT
on 5/16/02 7:10 PM, "Terry Steichen" <> wrote:

> Jon,
> I don't know enough about JSP to know exactly how to do what you're
> suggesting - but it sounds pretty interesting.  Would you mind humoring me
> with couple more exmaples to help illustrate this (potentially fascinating)
> approach?
> Regards,
> Terry

With Velocity, you put java.lang.Object's into the Context.

Given that a taglib is simply a java.lang.Object, you simply instantiate it
and put it into the context. You can then call on its methods from within
the Velocity template.

I'm not quite sure what else you are asking for. This is pretty simple


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

View raw message