Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25485

Re: Closing a stream in an applet causes a crash

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Closing a stream in an applet causes a crash
Date 2011-01-31 12:53 -0800
Organization Canadian Mind Products
Message-ID <t78ek6l34ct24sh137o1jetfd8d5i7d3tt@4ax.com> (permalink)
References <ii4ua5$elc$1@news.eternal-september.org>

Show all headers | View raw


On Sun, 30 Jan 2011 19:04:18 -0500, Sam Takoy <sam.takoy@yahoo.com>
wrote, quoted or indirectly quoted someone who said :

>     URL url = new URL(urlString);
>     URLConnection urlc = url.openConnection();
>
>     InputStream is = urlc.getInputStream();

You can't do that unless the Applet is signed.  Go into the control
panel and turn on the console so you can get more detail on where and
why it died.


See http://mindprod.com/jgloss/signedapplet.html
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
To err is human, but to really foul things up requires a computer.
~ Farmer's Almanac
It is breathtaking how a misplaced comma in a computer program can
shred megabytes of data in seconds.

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

Re: Closing a stream in an applet causes a crash Roedy Green <see_website@mindprod.com.invalid> - 2011-01-31 12:53 -0800
  Re: Closing a stream in an applet causes a crash Arne Vajhøj <arne@vajhoej.dk> - 2011-01-31 18:15 -0500

csiph-web