Well the issue doesn't occur until I call method HTTPScon (see code). This method has no parameters being passed to it, but does return an array of strings. If it were the parameters being passed from coldfusion wouldn't I see a problem upon instantiating the object?
Wes On 2/14/07, Eric Roberts <[EMAIL PROTECTED]> wrote: > > If I am understanding what you are asking, you probably need to use > javacast > to cast the variable of the appropriate java type. > > Eric > > -----Original Message----- > From: Wesley Middendorff [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 14, 2007 3:18 PM > To: CF-Talk > Subject: Re: Java classes in coldfusion > > Sorry for all the newb questions here, but now i am getting "Error casting > an object of type **to an incompatible type". > Which occurs when calling the HTTPcon method. Is there a problem with > trying > to pass an array of strings back to coldfusion? > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269860 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4