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


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

Re: Closing a stream in an applet causes a crash

Started byRoedy Green <see_website@mindprod.com.invalid>
First post2011-01-31 12:53 -0800
Last post2011-01-31 18:15 -0500
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.programmer

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#25485 — Re: Closing a stream in an applet causes a crash

FromRoedy Green <see_website@mindprod.com.invalid>
Date2011-01-31 12:53 -0800
SubjectRe: Closing a stream in an applet causes a crash
Message-ID<t78ek6l34ct24sh137o1jetfd8d5i7d3tt@4ax.com>
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.

[toc] | [next] | [standalone]


#25948

FromArne Vajhøj <arne@vajhoej.dk>
Date2011-01-31 18:15 -0500
Message-ID<4d474271$0$23761$14726298@news.sunsite.dk>
In reply to#25485
On 31-01-2011 15:53, Roedy Green wrote:
> 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.

Given that the applet dies i the close call, then
it is hardly relevant.

Oh - and it not really correct wither - the applet only needs
to be signed if the URL from a different site than where
the applet were retrieved.

Arne

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web