Yes. In general, Velocity is thread-safe. The exception is VelocityContext - each Context should only be used by one thread at a time.

WILL

----- Original Message ----- From: "alan sparago" <[EMAIL PROTECTED]>
To: <velocity-user@jakarta.apache.org>
Sent: Wednesday, January 25, 2006 7:47 AM
Subject: Template thread safe?


Is the org.apache.velocity.Template class thread safe for a given template
file?

As an example - consider an application where there is one template file
called; test.vm. Can I use a single instance of the Template class for all
threads that use this template file?




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to