Hi !
I don't manage to use the waitFor() method the way I want :
I have a web application in JSP which makes a command line call by :
Process p = r.exec(command);
This command creates a file I have to dispaly in a frame.
So I have to wait for the file to be created before I load it in my frame.
I have written :
int respro = p.waitFor();
But it doesn't seem to really wait, and I get the URL not found message in my frame.
Can anyone explain me exactly how waitFor() works, and if it's what I need ?
Thanks !
Gaelle, from France.
I don't manage to use the waitFor() method the way I want :
I have a web application in JSP which makes a command line call by :
Process p = r.exec(command);
This command creates a file I have to dispaly in a frame.
So I have to wait for the file to be created before I load it in my frame.
I have written :
int respro = p.waitFor();
But it doesn't seem to really wait, and I get the URL not found message in my frame.
Can anyone explain me exactly how waitFor() works, and if it's what I need ?
Thanks !
Gaelle, from France.