I only know the way I have done it...put them in the Cf directory, set a
class path in cf admin and used <cfset
varname=createObject("java","class").method()/>.  

Eric 

-----Original Message-----
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 05 February 2006 01:08
To: CF-Talk
Subject: Re: Equivalent to Java 'import <package>.<class>;'?

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.)

Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231394
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

Reply via email to