maybe trying giving it something like this:
input = CreateObject("java","java.io.FileInputStream").init(pathtoyourfile);
-----Original Message-----
From: Jeff Chastain [mailto:[EMAIL PROTECTED]
Sent: 28 June 2005 16:14
To: CF-Talk
Subject: RE: Java InputStream = ??? in CF
Well, maybe because I am not sure what it is looking for then. The
documentation refers to the parameter as follows ...
inStream - an InputStream from which the contents of the new document
will be read. Cannot be null.
So, I assumed that this meant that it wanted the actual file in some form,
not just an empty InputStream object. What this is, is a CMS type system
and this method call is to insert a new document in the CMS.
Thanks
-- Jeff
----------------------------------------
From: "Kerry" <[EMAIL PROTECTED]>
Sent: Tuesday, June 28, 2005 10:07 AM
To: CF-Talk <[email protected]>
Subject: RE: Java InputStream = ??? in CF
why not just give it exactly what it asks for?
-----Original Message-----
From: Jeff Chastain [mailto:[EMAIL PROTECTED]
Sent: 28 June 2005 15:59
To: CF-Talk
Subject: Java InputStream = ??? in CF
I have a Java application that was purchased off the shelf that I am trying
to get to interface with a custom ColdFusion application. One of the method
calls in the Java application's API calls for an java.io.InputStream
parameter. What would this be equal to (if anything) in ColdFusion? Is
this the form field result of an variable after a
Any Java people out there that could make this comparison?
Thanks
-- Jeff Chastain
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210739
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54