title: calling a java method in velocity template
body: <p>I have a class <code>CurrencyUtil</code> in which I have written a method <code>convertCurrency(String symbol, long value)</code> I want to call this method from velocity template. I am putting object of this class <code>map.put("formatter", currencyUtil);</code> and in template I am using the tag as <code>$formatter.convertCurrency($currency, $total)</code> but when the template is rendered it is not printing the result. </p>
  
  <p>here my question is that, should the parameter names in the java method and in template be same? or is there any other problem?</p>