You can use a URLClassLoader to dynamically load classes that aren't in the classpath - I do this all the time because I can't be stuffed asking the server admins to change my Java classes when I modify them. Spike's blog shows how (watch for wrapping in the URL):
http://www.spike.org.uk/blog/index.cfm?do=blog.entry&entry=B49509DF-D565-E33F-31C9E574EA1591EE On 2/5/06, Rick Root <[EMAIL PROTECTED]> wrote: > Eric Roberts wrote: > > I think that only works if you have it specified in the class path in cf > > admin... > > the java classes or jar files MUST be in the class path no matter what > you do, otherwise you can't get to them with CF. > > And if you put them in the default class path you don't have to adjust > any cfadmin settings. > > I'm pretty sure things have to be in the class path to use cfinvoke too > (I don't *THINK* you can use cfinvoke to invoke local class files.. like > you can't just use a java class found in your web site's home directory.) -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231380 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

