Spring injection and html templates working