title: Configuring FreeMarker In Spring Application
body: <p>I am new to freemarker,but i want to fetch the data from Spring Application to my view which has extension <code>.ftl</code>.I am using <code>${message}</code> but it displays as usual.It should display the data which is availble in message from Spring Application.</p>
  
  <p>I am configured  dispatcherServlet as below</p>
  
  <pre><code>   &lt;bean id="freemarkerConfig" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer"&gt;
         &lt;property name="templateLoaderPath" value="/WEB-INF/freemarker/"/&gt;
        &lt;/bean&gt;
  
    &lt;bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
         &lt;property name="cache" value="true"/&gt;
         &lt;property name="prefix" value="/WEB-INF/jsp/"/&gt;
         &lt;property name="suffix" value=".ftl"/&gt;
    &lt;/bean&gt;
  </code></pre>