velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Glass-Husain <>
Subject Re: Spring/Struts usage
Date Wed, 04 Dec 2013 23:07:47 GMT
Spring MVC provides a VelocityView which automatically handles the template

There's an example here:

and here:


On Wed, Dec 4, 2013 at 10:01 AM, Mike Clovis <> wrote:

> Hi ,
>                 I have a newbie question. When using a web framework like
> Spring you write controllers that are mapped to requests, add data to the
> response (Model Map) and return a uri to correct view. With velocity you
> could also write classes that would return the correct entities and add
> them to the velocity context. Then merge. How is this accomplished with
> Spring MVC? A small snippet would help. Do you call merge in the method w/o
> returning values through the map.
> Thanks in advance,
> Mike

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message