velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "IO" <cocos...@home.ro>
Subject that statement takes 20s !!!!
Date Tue, 10 Dec 2002 07:37:32 GMT



Hello Everybody, 

 I am using Velocity in a servlet web application that keeps 
it's VTL code in a database. I am using the following code to 
process the template:

 Velocity.evaluate(context, writer, "label1", vtlCode);
 
where vtlCode is a String object containing the VTL code :)).

My problem is that only that statement takes 20s !!!! Is there an
workaround for this ? 

The VM template has only a for..each directive and in the context 
I have 20 objects, each of these has references to aprox 
10 other objects.

I am using Velocity 1.3c2, Resin 2.0.3, JDK 1.4.

Best regards,
 Dan


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


Mime
View raw message