struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <>
Subject Re: Struts 2 View : FreeMarker or Velocity
Date Fri, 03 Nov 2006 12:58:46 GMT
>From a framework perspective, it's not a difference that makes a
difference. The same with choosing between JSP and Freemarker or
Velocity. The Struts Tags supports all three views equally, and we
keep the door open for XLST and other alternatives.

So, from a development perspective, it's a straight-up choice of which
system *you* want to use. Of course, Freemarker has something to say
about it.


And you can google up quite a few more links like these.

One hint: If you do try Freemarker, I'd suggest going with the
"alternate" syntax, that uses square braces instead of angle brackets.
The advantage is that the FM markup is not confused with HTML markup.
I find that the alternate syntax works *much* better in standard IDEs.


I remain surprised that there is not a IDEA plugin for FM (or W2/S2)
... If only I had the bandwidth ...


On 11/3/06, Stas Ostapenko <> wrote:
> Hello !
> I need an advice to choose templating framework for using as a view
> with Struts 2. We had used Velocity with Struts 1.2 + Velocity-Tools
> in the past. Struts has changed since that time :) Are there any
> benefits of using FreeMarker against Velocity ?
> Thanks !

HTH, Ted.

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

View raw message