velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <>
Subject Re: Template object from something other than a file
Date Fri, 08 Nov 2002 14:27:02 GMT

On Friday, November 8, 2002, at 09:07 AM, Richard Cowin wrote:

> Can a Template object be instantiated from a String containing VTL?

Of course, but you might have to do some work depending on what you 
want to do.

The best way is to use the DataSourceResourceLoader, or something 

You can also use the evaluate() methods in Velocity / VelocityEngine if 
you don't care about the parse time.


Geir Magnusson Jr                                                      
Adeptra, Inc.                                                           

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

View raw message