Article View: borland.public.jbuilder.java.language
Article #7434Re: Access Denied loading image
From: Nabin Thomas
Date: Sat, 23 Jun 2001 04:35
Date: Sat, 23 Jun 2001 04:35
36 lines
1828 bytes
1828 bytes
The image should be from the same host as that of the applet. Thats a
restriction for applets
Shamil wrote:
> Hello All,
>
> Is there an way to load image from the given URL into applet?
> Trying this I got Access Denied exception:
>
> webURL = new URL( "http://www.****.com/***.jpg" );
> webImage = getImage( webURL ); <-- rise exception
>
> What should I do in this case? Any idea really appreciated.
>
> Thanks for advice,
> Shamil
--
***********************************
***************************************************
******************* Web Card **********************
***************************************************
Name : Nabin Thomas
e-mail : nabinthomas@hotmail.com
Web : http://nabin.topcities.com
Feel free to contact me thru e-mail or MSN Mssenger
if required but DONOT SPAM
***************************************************
***********************************
Technical Details
Message-ID:
<3B341C87.7D302009@hotmail.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3B3221F4.9C1252BF@domain.country>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,f46c862f586050ca X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-06-22 22:08:36 PST Message-ID: <3B341C87.7D302009@hotmail.com> Date: Sat, 23 Jun 2001 10:05:19 +0530 From: Nabin Thomas <nabinthomas@hotmail.com> X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: Access Denied loading image References: <3B3221F4.9C1252BF@domain.country> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 202.9.167.80 X-Trace: dnews 993272832 202.9.167.80 (22 Jun 2001 22:07:12 -0700) Lines: 40 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews