Hi RZG,

>   when i attempted load a rss url using PostMethod in httpclient 3.0,an 403
> status returned.
> but i can access this rss url  through the ie or other browsers.
> would there be any parameters must be setted?

Most likely.

>   GetMethod postMethod = new GetMethod(

The type of a method does not depend on the variable name. If you create
an object of type GetMethod, it will be a GET method, no matter how many
"post" you put into the variable name.

That is probably not the only error in your code.
I suggest you go through the checklist...
http://mail-archives.apache.org/mod_mbox/jakarta-httpclient-user/200602.mbox/[EMAIL
 PROTECTED]

Don't take the "identical" in step 7 literally.
The followup mails will tell you what I mean.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to