Re: Reading files from website
- From: Lasse Reichstein Nielsen <lrn@xxxxxxxxxx>
- Date: Mon, 31 Dec 2007 16:25:36 +0100
OldPro <rrosskopf@xxxxxxxxxxxxx> writes:
I tried to read files (gif) off of various websites, and I got a
security error each time.
Then you must be using a security manager that doesn't allow that.
Are your code running as an applet?
I can easily copy them by hand to my computer. Does Java not have
the ability to copy or read files from the internet?
Default Java, just running from the command line, can do pretty much
anything. You must either be running in a restricted environment or
manually set up a security manager to cause security exceptions.
/L
--
Lasse Reichstein Nielsen - lrn@xxxxxxxxxx
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
.
- References:
- Reading files from website
- From: OldPro
- Reading files from website
- Prev by Date: Re: Reading files from website
- Next by Date: Re: How to tie
- Previous by thread: Re: Reading files from website
- Index(es):
Relevant Pages
|