velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Long Zhao" <LZ...@firstgenetic.net>
Subject RE: newbie question
Date Tue, 06 May 2003 16:19:56 GMT
This works well.
Thanks so much.

My appreciation for all helpers.

Long

-----Original Message-----
From: Dave Newton [mailto:dave@solaraccess.com]
Sent: Monday, May 05, 2003 4:31 PM
To: Velocity Users List
Subject: RE: newbie question


> I checked the api, the templateString is not the content but the name of the template.
> I have byte[] or stream from database, how can I convert it to a template?

Whoops, my fault.

Velocity.evaluate(context, outWriter, logtag, templateString);

Well, at least it's Friday.

Doh!

Dave



---------------------------------------------------------------------
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