Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 25882 invoked from network); 8 Jun 2006 10:16:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jun 2006 10:16:42 -0000 Received: (qmail 94034 invoked by uid 500); 8 Jun 2006 10:16:41 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 94015 invoked by uid 500); 8 Jun 2006 10:16:41 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 94001 invoked by uid 99); 8 Jun 2006 10:16:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 03:16:41 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sebbaz@gmail.com designates 66.249.82.196 as permitted sender) Received: from [66.249.82.196] (HELO wx-out-0102.google.com) (66.249.82.196) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 03:16:38 -0700 Received: by wx-out-0102.google.com with SMTP id h26so287498wxd for ; Thu, 08 Jun 2006 03:16:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TZ76lMSTD5i5uhFDU71MU/1ZoNXON7qo9iuxVMS0y4MMp6Ox1sJUe4OsYtQXPE/oHDstmW+5w9JO+F7zFxMLRNvKTEZit69ijh21DHChXVmLfSE+jj2rpK0+kS3hNhdy4Op6UZeNgNVQZifgsBgtEmHR/dRT5f7EzKJScC+vgZw= Received: by 10.70.73.15 with SMTP id v15mr1865921wxa; Thu, 08 Jun 2006 03:16:16 -0700 (PDT) Received: by 10.70.91.4 with HTTP; Thu, 8 Jun 2006 03:16:16 -0700 (PDT) Message-ID: <25aac9fc0606080316p22c380d8j7a2d3d415857f671@mail.gmail.com> Date: Thu, 8 Jun 2006 11:16:16 +0100 From: sebb To: "HttpClient User Discussion" Subject: Re: Download web image in a web site which combine in different frame. In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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 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