S
Sam Takoy
Hi,
I have a signed applet that includes the following code:
URL url = new URL(urlString);
URLConnection urlc = url.openConnection();
InputStream is = urlc.getInputStream();
/////
is.close();
And everything works perfectly in terms of opening the stream and
reading from it, until I attempt is.close() - then I get the
java.io.IOException: stream is closed
exception. Interestingly, this does not happen when I use the same code
from an application rather than a signed applet. What could be going on
here?
Thanks in advance!
Sam
I have a signed applet that includes the following code:
URL url = new URL(urlString);
URLConnection urlc = url.openConnection();
InputStream is = urlc.getInputStream();
/////
is.close();
And everything works perfectly in terms of opening the stream and
reading from it, until I attempt is.close() - then I get the
java.io.IOException: stream is closed
exception. Interestingly, this does not happen when I use the same code
from an application rather than a signed applet. What could be going on
here?
Thanks in advance!
Sam