[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-users
Subject:    Re: Download web image in a web site which combine in different frame.
From:       sebb <sebbaz () gmail ! com>
Date:       2006-06-08 10:16:16
Message-ID: 25aac9fc0606080316p22c380d8j7a2d3d415857f671 () mail ! gmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic