I try use:

Image wmf = Image.getInstance(new URL("../examples/harbour.wmf"));

But in server have a Basic Authentication and i can�t get the image
with new URL.
The code make the connection with server, authentic and put the
correct header in image to can be use in Image.getInstance.

I think it�s can be useful to someone.

Sorry dude.

On Wed, 19 Jan 2005 19:17:41 -0000, Paulo Soares <[EMAIL PROTECTED]> wrote:
> What has this to do with iText?
> 
> ----- Original Message -----
> From: "Paulo Filho" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, January 19, 2005 4:49 PM
> Subject: [iText-questions] Solution get image with Basic Authentication
> 
> Try using java.net.URL to get image from server with Basic
> Authentication but i can�t.
> I use httpclient from Jakarta commons to obtain the image.
> 
> I�ll send in attach file the source, this can be useful.
> U need in classpath:
> "commons-logging.jar" "commons-httpclient-2.0.2.jar"
> 
> I make some modifications and put all in one class file.
> 
> *** If someone wanna i can send all source. ****
> 
> Thanks
> Paulo Filho
> 
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to