Skip to main content

Loading an image from the server throws an error

2 replies [Last post]
sshashikala
Offline
Joined: 2008-10-03
Points: 0

Hi,

I have written an app, which makes a request to a web application and retrieves all the data to display on the app. One of the data is a URL for an image located on a server. I have also given permission to connect,resolve,listen and accept to the server in the permission file. When I try to get an instance of image using ToolKit.getImage(URL), it just fails, does not even report any error message, nut sure why this is happening.

Can someone please help me with this?

Thanks,
Shashi

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
krishnaveni17
Offline
Joined: 2008-09-24
Points: 0

Hi ,

does this URL has any whitespaces ?

thanks,
krishna.

sshashikala
Offline
Joined: 2008-10-03
Points: 0

Hi Krishna,

No white spaces. I thought it might be because of permission and hence opened up my .perm file and gave all kinds of permission to connect,resolve, listen and accept to the host, still image does not get loaded up. When I checked the log there are no error messages but when it tris to load the image, it just hangs.

Any help would be appreciated.

Thanks,
shashi