You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by gon ishihara <ma...@yahoo.com> on 2003/05/02 19:48:16 UTC
HTTPClient
Hello,
I'm using HttpClient 2.0 Alpha 3 with JDK 1.3.
All I'm trying to do is to redirect serlet request to
other servers, so building a kind of like a proxy
servlet.
In my proxy servlet, I can actually pass in all the
data to other servlet on other server and get a
response from it, yet the response I'm trying to form
always preceeds with an error message "Error 405: HTTP
method POST is not supported by this URL".
Could someone help me out on this??
Thanks much!!!
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
Re: HTTPClient
Posted by Oleg Kalnichevski <o....@dplanet.ch>.
I agree that alpha-3 release should be avoided at all costs. However, in
this particular instance, my guess is that it has nothing to do with it.
I suggest you should try issuing HTTP GET instead of HTTP POST against
that url, as it apparently does not implement doPost() method.
Oleg
On Fri, 2003-05-02 at 20:14, Michael Becke wrote:
> In general I would recommend against using Alpha 3. There are a number
> of know problems with this build. The latest nightly build is much
> better.
>
> In regard to your question, it seems that the servlet you are forwarding
> the POST request to does not accept POSTs. Does this servlet implement
> doPost()? If it does, then I am guessing that the problem lies with
> Alpha 3 and an upgrade should fix things.
>
> Mike
>
> gon ishihara wrote:
> > Hello,
> > I'm using HttpClient 2.0 Alpha 3 with JDK 1.3.
> > All I'm trying to do is to redirect serlet request to
> > other servers, so building a kind of like a proxy
> > servlet.
> >
> > In my proxy servlet, I can actually pass in all the
> > data to other servlet on other server and get a
> > response from it, yet the response I'm trying to form
> > always preceeds with an error message "Error 405: HTTP
> > method POST is not supported by this URL".
> >
> > Could someone help me out on this??
> >
> > Thanks much!!!
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
> > http://search.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
>
Re: HTTPClient
Posted by Michael Becke <be...@u.washington.edu>.
In general I would recommend against using Alpha 3. There are a number
of know problems with this build. The latest nightly build is much
better.
In regard to your question, it seems that the servlet you are forwarding
the POST request to does not accept POSTs. Does this servlet implement
doPost()? If it does, then I am guessing that the problem lies with
Alpha 3 and an upgrade should fix things.
Mike
gon ishihara wrote:
> Hello,
> I'm using HttpClient 2.0 Alpha 3 with JDK 1.3.
> All I'm trying to do is to redirect serlet request to
> other servers, so building a kind of like a proxy
> servlet.
>
> In my proxy servlet, I can actually pass in all the
> data to other servlet on other server and get a
> response from it, yet the response I'm trying to form
> always preceeds with an error message "Error 405: HTTP
> method POST is not supported by this URL".
>
> Could someone help me out on this??
>
> Thanks much!!!
>
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
>