Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 6452 invoked from network); 19 May 2007 03:22:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 May 2007 03:22:46 -0000 Received: (qmail 73526 invoked by uid 500); 19 May 2007 03:22:42 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 73499 invoked by uid 500); 19 May 2007 03:22:42 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 73488 invoked by uid 99); 19 May 2007 03:22:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 20:22:42 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of cainelai@gmail.com designates 64.233.162.230 as permitted sender) Received: from [64.233.162.230] (HELO nz-out-0506.google.com) (64.233.162.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 20:22:35 -0700 Received: by nz-out-0506.google.com with SMTP id i11so1458010nzi for ; Fri, 18 May 2007 20:22:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Sl1XmzbkgDKMTYgOXSjZ3dCKCl4+ejF8U6CBkz689OeqQxjQ0xYwCZMhSRPSTTnomb1XDSUNYpaxjsZbV10ye8634FystBEM/Xdjru6rNxzLxXhpu9fZpSHX7edeb2DA13ivWhbElhfSiDzIYfSTSAIJApqloX9zTtBgQWxxDh4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cvRivv5yNtKaiPcselvk3+JBRZ8UoUX4/eLCaIwpei+/bAtPdM/1Hv+MQVefnDsfnnK55Sktyx5iliwWF5wtBqFzPqERSgBFCq91dOQZznQVMZAxzIum7ZAJwyZNVX+mhKKvbkyyXDcVrv9HlsRhny8awN3ZX3Py5Ox89ye5tF4= Received: by 10.115.46.9 with SMTP id y9mr1205428waj.1179544933734; Fri, 18 May 2007 20:22:13 -0700 (PDT) Received: by 10.115.73.12 with HTTP; Fri, 18 May 2007 20:22:13 -0700 (PDT) Message-ID: <26fe2b030705182022r290c5f65k98a0fce5da379a3@mail.gmail.com> Date: Fri, 18 May 2007 20:22:13 -0700 From: "Caine Lai" To: "Struts Users Mailing List" Subject: Re: [S2] Freemarker vs struts taglibs In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_53325_4903596.1179544933669" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_53325_4903596.1179544933669 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I have been using Freemarker with Struts 2 for my latest project and I'm loving it. The syntax is a gazillion times (yes, exactly that many) better than JSP in my opinion. As far as differences in the tags, there isn't any. You can do the same thing using the Freemarker Struts tags as you can using the JSP Struts tags. Just to be clear, you choose to use either JSP or Freemarker. And then you use the tag syntax for that view language. On 5/17/07, Musachy Barroso wrote: > > FreeMarker is a template engine, with it's own syntax. JSP tags can be > used > in FreeMarker, adding some configuration. In the case of Struts tags, no > configuration is required, and you can use them like you would in JSP > except > a few differences, see this for details: > > http://struts.apache.org/2.x/docs/freemarker.html > > musachy > > On 5/17/07, Jordi Rubio Moreno wrote: > > > > Hi, > > > > I'm a bit confused. I need to decide if I'll use Freemarker or Struts > > taglibs, and I don't know the differences between both. E.g. what's the > > difference between and <@s.iterator>, and <@s.url>, > > etc etc... > > > > I have seen all the tutorials and examples I have found working with > > taglibs, but people says WebWork and Struts 2's choice is Freemarker... > > > > Please, help me to understand why taglibs or Freemarker :) > > > > Thanks a lot! > > > > Cheers! > > > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > ------=_Part_53325_4903596.1179544933669--