Hi there,
I'm trying to use a Java object in Coldfusion using the CreateObject function.
This works fine when the constructor in the Java class doesn't take any arguments e.g.:
MyObject myObject = new MyObject();
Goes to
myObject = CreateObject("java", "com.something.MyObject");
But I'm not sure how to pass arguments to the constructor for code like this:
MyObject2 myObject2 = new MyObject2(myArgment);
I'm sure this should be really simple, but I can't find this anywhere.
Thanks,
Tom