!7 import org.apache.velocity.*; import org.apache.velocity.app.*; sS template = "Hello $name!"; p-exp { Velocity.init(); new VelocityContext context; context.put("name", "Velocity"); new StringWriter sw; assertTrue("Velocity evaluate", Velocity.evaluate(context, sw, "test-template", template)); printWithIndent("HTML> ", sw); }