[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-user
Subject:    Re: Render as a String
From:       "Geir Magnusson Jr." <geirm () adeptra ! com>
Date:       2002-07-26 13:52:09
[Download RAW message or body]

On 7/26/02 9:31 AM, "Sébastien Dui" <dui@dui.be> wrote:

> 
> Hi, 
> 
> Is there a method to render a Velocity template as a string ?
> 
> 

All sorts of ways.

Easiest is to just use a StringWriter as the writer you render into.

-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic