title: unable to understand code of .ftl files in struts2
body: <p>I am unable to understand the code given below.Can anyone suggest me how to write the code for .ftl files  .I am following the turtorial  <a href="http://www.mkyong.com/struts2/working-with-struts-2-theme-template/" rel="nofollow">http://www.mkyong.com/struts2/working-with-struts-2-theme-template/</a></p>
  
  <pre><code>      &lt;#--
  Only show message if errors are available.
  This will be done if ActionSupport is used.
     --&gt;
     &lt;#assign hasFieldErrors = parameters.name?? &amp;&amp; fieldErrors?? 
          &amp;&amp;    fieldErrors[parameters.name]??/&gt;
       &lt;#if hasFieldErrors&gt;
       &lt;#list fieldErrors[parameters.name] as error&gt;
      &lt;span class="errorMessage" errorFor="${parameters.id}"&gt;${error?html}&lt;/span&gt;&lt;#t/&gt;
      &lt;/#list&gt;
      &lt;/#if&gt;
  </code></pre>