First time the source is coming but when i click the second file, it shows the source of previous one. I refresh the IFrame on each load. And also i gave a thread.sleep of 1 sec before in order to make sure that the html file is created. But the problem still exist. I tried by increasing the sleep but still the same problem.
If anyone have any idea, plz help me with this.