Title: RE: Google Image Search via JEditorPane (HTTP 403) (Kevin Yank)

>> I'm wondering if maybe it has something to do with the
>> headers it is sending.  I tried turning off cookies in
>> a regular browser, and the page still came up so I'm
>> pretty sure it's not that.

>> rahul

hmm...

If the problem is with the HTML content rather than the headers,
You could try putting the HTML into a local text file and then
experimenting with the HTML until it works. 

Not a solution but might give you some insight into one.

You can get the HTML into a local file via:
    * your browser (view source)
    * CLI tools like WebCat (http://www.acme.com/java/software/WebCat.html)
    * Roll your own with java.net.URL

Then point your JEditorPane at the local file.

HTH

~rmp
Ralph M. Prescott
Technical Lead / Solutions Development
Xelus, Inc.

web:   http://www.xelus.com
email: [EMAIL PROTECTED]
vmail: 585.419.3137
im:     rmprescott@yahoo 

-----Original Message-----
From: Rahul Bhargava [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 13, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: RE: Google Image Search via JEditorPane (HTTP 403) (Kevin Yank)



Hmm... no, it's not a proxy issues.  I'm on a Cable
modem without any such configuration.  I can get lots
of other webpages fine with the JEditorPane, including
www.google.com, but I can't get to
  http://images.google.com/images?q=blah

very frustrating!
I'm wondering if maybe it has something to do with the
headers it is sending.  I tried turning off cookies in
a regular browser, and the page still came up so I'm
pretty sure it's not that.

rahul

Reply via email to