Problem while loading remote image

Hi in my application i am loading image present in remote server.I am using linux as server.While calling this method

RenderedImage src = JAI.create("fileload", s);

s is complete file path.

it is giving fileNot Found exception.

I also tried this code to read remote image

ImageDecodeParam d=null;

RenderingHints h = null;

FileLoadDescriptor fl= new FileLoadDescriptor();

RenderedOp ro=fl.create(s,d,Boolean.FALSE,h);

ro.getAsBufferedImage();

PlanarImage im= ro.getCurrentRendering();

but same error it is giving.Is anybody know how to access image present on server (remote).I seared on net for this but some fellow to make checkFileLocally parameter FALSE. i tried that one also but not working.

Is there any sample code please it's very urgent.

Thanks in advance

[850 byte] By [AP_javaa] at [2007-11-27 9:01:35]
# 1
The following code may helpString address = "http:/";//specify url hereURL imgUrl = new URL(address);ImageIO imageIo = null;InputStream iptstream = imgUrl.openStream();Image image = imageIo.read(iptstream);
eyadoa at 2007-7-12 21:31:21 > top of Java-index,Security,Cryptography...