I have put a breakpoint at the first line (url=new...). I have noticed that at execution time an exception occurs "Something is wrong"-->message.
What is wrong with it?
I have also tried the
url=new URL (getDocumentBase(),MyFileName);
but still no effects