hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Download web image in a web site which combine in different frame.
Date Thu, 08 Jun 2006 10:16:16 GMT
HTTPClient is not a browser.

It can make the same requests of a server as the browser can, but it
does not provide any client-side processing such as parsing the page
and displaying it.

It is up to the user to tell it what to do.

In this case extract the URL from the returned HTML page, and then use that.

S.
On 08/06/06, Eric Chow <eric138@gmail.com> wrote:
> Hi Roland,
>
> The "View image" cannot selected in that web site. You also can have
> test at that web site as in my previous message.
>
> The GIF image is dynamic updated by the query.
>
>
> Web site: http://www.gis.gov.mo/website/emacau/macao1.htm
>
> * operation
>  1. click on the "Building Location" in left frame
>  2. enter "precious jade"
>  3. click on the first result, and the map image will display on the main window
>
>
>
>
>
>
> On 6/8/06, Roland Weber <ROLWEBER@de.ibm.com> wrote:
> > Hello Eric,
> >
> > > In left frame, there is a input box for query. A list of result will
> > > be out in another pop-up window. The related GIF will begenerated in
> > > the query input window but in different frame.
> > >
> > > In this case, how can I download the GIF with HttpClient?
> >
> > Every GIF has a URL. It doesn't matter whether it's in a frame or not.
> > Obtain the URL from the HTML source displayed in the respective frame.
> > The proceed to download the GIF like you would download anything else.
> >
> > In other words: in your browser, right-click the image to get the
> > context menu. Select "view image" and the browser displays only the
> > GIF, without any frames or other stuff around it. That's how you are
> > supposed to use HttpClient.
> >
> > cheers,
> >  Roland
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>

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


Mime
View raw message