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