Hi,
I have a servlet that get an image from a web site. This web site require a
basic authentication with a login and password. My problem is here.
I have proved it with this code:
.
.
.
cam = new URL("http://admin:[EMAIL PROTECTED]/image.jpg");
camConexion = cam.openConnection();
in = camConexion.getInputStream();
.
.
.
But i have an error because the URL it is incorrect, with an browser
(IExplorer) it goes fine.
Anybody know how i could get this image using "Basic Authentication".
Thanks...
P.D. If this question it is a off-toppic ... Pardon me
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html