Hi,

I am new here. I am trying to have a simulated http
client whose purpose is to log onto www.hotjobs.com
using username and password, I've written a
program(which I attach) to achieve this, however, the
final step which I try to connect to
"http://my.hotjobs.yahoo.com/display/resume?xxxx";, it
fails with error like this:

java.io.IOException: Bad chunk size: The document has
moved <A
HREF="https://login.hotjobs.yahoo.com/display/resume?ct_hft=merge/login&amp

if the first page I am trying to access is
"http://www.hotjobs.com/";, the error comes up as "No
redirect is allowed".

I suspect the first problem is related to the cookies,
which seems not to be stored in the HttpClient's
HttpState. If I do the same thing on the browser, I
can clear see that cookies are set and stored on
browser, but I can't see any in the HttpClient's
HttpState.

Thanks.

yang su

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to