0 Replies Latest reply on Jun 14, 2006 1:36 PM by naravind@hotmail.com

    Accessing Java methods from CF

    naravind@hotmail.com
      I have a java class that has this method (something similar):
      public void init(int k) {
      k = k * 2;
      }

      However, when I instantiate this java class using cold fusion and try to access the "init()" method, it doesn't work. I am assuming that CF is looking for a constructor when I execute the "init()" method. Any workarounds?