title: Create Freemarker Configuration bean in Spring, together with parameter
body: <p>I am having trouble creating a "freemarker.template.Configuration" bean and setting global shared variables in this instance of the Configuration. Something like:</p>
  
  <pre><code>&lt;bean id="conf" class="freemarker.template.Configuraton"&gt;  
      &lt;property name="sharedVariable" &gt;
          **??**
     &lt;/property&gt;
  &lt;/bean&gt;  
  </code></pre>
  
  <p>Is this possible?
  I can't use FreeMarkerConfigurer instead of Configurer because I am using servlets (full stack of Spring MVC) as controllers in my project. Is there any way to convert a FreemarkerConfigurer into a Configurer?</p>