title: Struts2: custom action mapper defined in Spring
body: <p>I have following situation:  </p>
  
  <ul>
  <li>I use Struts2 as MVC cobtroller</li>
  <li>I use Spring as object factory</li>
  <li>I implemented custom action mapper, I have configured this as a bean in my spring configuration.</li>
  </ul>
  
  <p>How can I tell Struts to use this bean as an action mapper?</p>
  
  <p>I tried top set:</p>
  
  <pre>
  struts.mapper.class=beanName
  </pre>
  
  <p>in <code>struts.properties</code> but this doesn't work.</p>