Good point, filename will need to be fully qualified and not just
file.extension.
"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and may also be privileged. It is for the exclusive use of the
intended recipient(s). If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful. If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910. The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions."
Visit our website at
http://www.reedexpo.com-----Original Message-----
From:
bounce-cfaussie-21631@...
<
bounce-cfaussie-21631@...>
To: CFAussie Mailing List <
cfaussie@...>
Sent: Mon Nov 28 00:27:00 2005
Subject: [cfaussie] RE: Java and CF
Could you let us know the value of "filename", and what the error is (if
any)?
-----Original Message-----
From:
bounce-cfaussie-11680@...
[mailto:
bounce-cfaussie-11680@...] On Behalf Of Andrew
Scott
Sent: Monday, 28 November 2005 1:02 p.m.
To: CFAussie Mailing List
Subject: [cfaussie] Java and CF
Has anyone come across why this line of code would not work in CFmx6.1?
<cfset fr = CreateObject('java','java.io.FileReader').init( filename )
/>
Regards
Andrew Scott
Analyst Programmer
CMS Transport Systems
Level 2/33 Bank Street
South Melbourne, Victoria, 3205
Phone: 03 9699 7988 - Fax: 03 9699 7976
Quote:
Dilbert's Words of Wisdom: Accept that some days you're the pigeon, and
some days you're the statue.
---
You are currently subscribed to cfaussie as:
davidh@... To
unsubscribe send a blank email to
leave-cfaussie-23165F@...
Aussie Macromedia Developers:
http://lists.daemon.com.au/This email contains confidential information. If you are not the intended
recipient of this email, please notify Straker Interactive and delete the
email. You are not entitled to use it in any way.
---
You are currently subscribed to cfaussie as:
Neil.Robertson-Ravo@...
To unsubscribe send a blank email to
leave-cfaussie-23165F@...
Aussie Macromedia Developers:
http://lists.daemon.com.au/This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and may also be privileged. It is for the exclusive use of the
intended recipient(s). If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful. If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910. The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at
http://www.reedexpo.com---
You are currently subscribed to cfaussie as:
lists@...
To unsubscribe send a blank email to
leave-cfaussie-23165F@...
Aussie Macromedia Developers:
http://lists.daemon.com.au/