On 3/7/07, Jones Eric R Ctr 8 AF Det 1/AFNOC <
[EMAIL PROTECTED]> wrote:
>
> I'm doing a simple createobject("java","java.io.file"); but it keeps
> telling me there was an object instantiation error.



You got the answer already.  Java classes are CaSe-Sensitive.

someone suggested something about a constructor, but it's not necessary when
calling the create object...  you can do the createObject *AND* then call
the constructor with the .init() method... the createObject() itself doesn't
actually call the constructor.

Personally, I'm not a fan of calling the constructor on the same line as the
createObject()... just seems ugly to me.

Rick


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271922
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to