title: Struts 2 type converter issue
body: <p>I am trying to use custom type conversion with property file for action.</p>
  
  <p>Action class is implementing ModelDriven for bean properties.</p>
  
  <pre><code>public class WelcomeAction extends ActionSupport implements ModelDriven&lt;MyBean&gt;{
  
  public String execute(){
      return SUCCESS;
  }
  
  private MyBean bean = new MyBean();
  
  @Override
  public MyBean getModel() {
      return bean;
  }
  }
  </code></pre>
  
  <p>Bean class is:</p>
  
  <pre><code>public class MyBean{
  
  private Rectangle rectangle;
  public Rectangle getRectangle() {
      return rectangle;
  }
  
  public void setRectangle(Rectangle rectangle) {
      this.rectangle = rectangle;
  }
  
  }
  </code></pre>
  
  <p>and I have <code>WelcomeAction-conversion.properties</code> file parallel to action class with converter config as:</p>
  
  <pre><code>bean.rectangle=struts2.typeconverters.RectangleTypeConverter
  </code></pre>
  
  <p>I tried putting key as bean, rectangle etc but its not working, its not using converter class.</p>
  
  <p>If i use <code>@TypeConverter</code> annotation or global converter then its working fine.</p>
  
  <p>My struts 2 version is 2.3.15.1, any idea what could be the issue.</p>
  
  <p>UPDATE: Created an issue <a href="https://issues.apache.org/jira/browse/WW-4249" rel="nofollow">https://issues.apache.org/jira/browse/WW-4249</a></p>
  
  <p>Got the correct way for implementation: <a href="http://www.journaldev.com/2221/struts-2-ognl-tutorial-with-custom-type-converter-example" rel="nofollow">http://www.journaldev.com/2221/struts-2-ognl-tutorial-with-custom-type-converter-example</a></p>