commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Hudak" <charles.hu...@cardionet.com>
Subject RE: httpclient - how to download entire page including images?
Date Wed, 08 Sep 2004 20:44:34 GMT
Sounds like you'll have to parse the HTML and download the images
separately. Of course, the page still won't render locally since the
links will be wrong (unless they were correctly made to be relative).

> -----Original Message-----
> From: Mark Clarke [mailto:Mark@ClarkeConsulting.co.za] 
> Sent: Wednesday, September 08, 2004 2:06 PM
> To: commons-user@jakarta.apache.org
> Subject: httpclient - how to download entire page including images?
> 
> 
> Hi there,
> 
> I need to grap a report from a web site and then put it in an 
> email. I can connect to the site and get the html with the 
> get method from the responsebody. The only problem is that 
> the images and not included in the mail. How can I download 
> and include the images in the email using httpclient?
> 
> thanks
> Mark
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message