velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laredotornado <>
Subject Template question
Date Tue, 12 Jul 2011 12:56:43 GMT


Using Velocity 1.6.2 with Spring 3.1.  I have a template with lines like ...


and I populate this template using 

		final String emailBody = VelocityEngineUtils.mergeTemplateIntoString(ve,
template, map);

so what value do I put in "map"?  What I'm trying right now isn't working,
which is

		final Map statsMap = new HashMap();
		final Map<String, Object> map = new HashMap<String, Object>();
		map.put("stats", map);

Thanks for any advice, - Dave
View this message in context:
Sent from the Velocity - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message