> Can someone please show me how to load a class file in ColdFusion. > I've tried everything from copying the .class file to the > C:\CFusionMX7\lib directory to copying it to the > C:\CFusionMX7\wwwroot\WEB-INF\classes directory. I don't even know if > just by dropping the file to a specific directory is sufficient or if > there is something else to do on top of that? Kindly help! > > Regards, > John >
jClass = createobject("java", classname); (for example from one of my apps, the class is in a jar file, located in tomcat/webapps/cfusion/web-inf/lib) jClass = createobject("java", "com.ca.dsm.webservice.UnitPropertyFilter"); Sam ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318058 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4