Hello,

I am a newbie to Velocity trying with a very simple code:

Velocity.init();
VelocityContext context = new VelocityContext();
context.put("name", "velocity");
String s = "We are using $project $name to render this.";
w = new StringWriter();
Velocity.evaluate( context, w, "mystring", s );


The above code does not contain any values for $project in the context, my question is how do we find if some of the template variables didn't get replaced at runtime?

A sample code would be helpful.

TIA,
Jitu

_________________________________________________________________
Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search http://server1.msn.co.in/profile/shahrukh.asp


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

Reply via email to