Doing something silly here...

I have a java class with a constructor

public void MyClass(String in,String out,HashMap data)


and I am trying to us it as such

data = StructNew();
data.ABC = "1234";
data.XX = "justin";

myclass = CreateObject("JAVA","MyClass");.
myclass.init("abc","123",data);


but I'm getting Unable to find a constructor for class MyClass that accepts params of type (java.lang.String,java.lang.String, coldfusion.runtime.Struct)


Apparently 7 days of drinking affects your programming....

Justin


-- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
     *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
          *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



Reply via email to