Bob, Yes classloaders and a classviewers are different but I think they use the same reflection to load things dynamically. After iText I started looking into classloaders and found out they can be done in a two lines of code.
FreeTTS example <cfset DansArray[1] = createObject("java", "java.net.URL").init(" http://www.getjars.org/freeTTS/freetts.jar")> <cfset BootstrapClassLoader = createObject("java", " coldfusion.bootstrap.BootstrapClassLoader ").SystemClassLoader.newInstance(DansArray).loadClass(" com.sun.speech.freetts.VoiceManager").newInstance()> Sometimes you get Class coldfusion.runtime.StructBean can not access a member of class com.sun.speech.freetts.VoiceManager with modifiers "private" null I think I have to use reflection again to get around this private method, but does anyone have a solution around? Thanks Dan On 6/16/06, Robert Everland III <[EMAIL PROTECTED]> wrote: > > Dan, > > > I don't understand what you mean by adding a classloader, the examples you > gave me added a classviewer http://www.cfdev.com/mx/undocumentation/ to > view undocumented features, but the examples expect the iText jar to already > be loaded. > > > > Bob > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243770 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54