3 Replies Latest reply on Mar 1, 2007 1:26 PM by insuractive

    Access java object without createObject()

    Level 7
      Is there any way to access Java when createObject() and <cfobject...>
      are disabled by the host?

      I.E. Can code like this be rewritten in some manner to work in this
      environment?

      //Create a java Array to hold our URLObject
      var ArrayClass = CreateObject("java","java.lang.reflect.Array");
      //Create an instance of java.net.URL for passing to the URLClassLoader
      var URLObject = CreateObject('java','java.net.URL').init("file:" &
      currentDirectory);


      P.S. This is the famous image properties component... are they any
      versions designed to work in environments without access to
      createObject() or <cfobject...> functionality?