Perhaps you need to supply the full pathname.  What error message do you
get when you use the approach that I mentioned?

Gary

-----Original Message-----
From: Bruno Verachten [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 30, 2001 11:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Protocol doesn't support output


Hi Gary,

Gary L Peskin wrote:

>>StreamResult(new File("fromFileToFile.out").toURL().toString()));
>>                } catch (java.net.MalformedURLException e) {
>>                }
>>      }
>>
>>What did I miss?
>>
>
>Have a look at the string created by
>  new File("fromFileToFile.out").toURL().toString()
>
>It probably looks funny.  In any event, the easiest way to do this is 
>to just supply the File as the argument to StreamResult:
>
>  ... new StreamResult(new File("fromFileToFile.out"))
>
I had written the line you gave, but it didn't work, so I chose toUrl(),

but it didn't
work either...
Thanks anyway.

B.Verachten.

Reply via email to