title: Type conversion struts2?
body: <p>I have my <strong>struts.xml</strong>:</p>
  
  <pre><code>&lt;s:textfield id="thresholdParameter_1"
      name="gmathreshold.distinctBnumberRatio"&gt;
  &lt;/s:textfield&gt;&lt;/td&gt;
  </code></pre>
  
  <p>where gmathreshold is a bean with <code>distinctBnumberRatio</code> as member variable. In my bean it's a <code>BigDecimal</code>. So how can I get it set in my Bean. I mean how to convert from <code>String</code> to <code>BigDecimal</code> in <strong>struts2</strong>??</p>