hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chamal De Silva <chamal.desi...@gmail.com>
Subject Can't post to web sphere server
Date Wed, 30 Nov 2005 11:55:27 GMT

I wanted to post data to my Login Servlet running on WebSphere server.

This is my code,

//Initializing Apache HTTPClient

   HttpClient client = new HttpClient();
   PostMethod post = new PostMethod("");

    InputStream in = null;

    int status = client.executeMethod(post);

But I do not get correct response from server.

When I check the server log files it says

com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Method XPOST is not
defined in RFC 2068 and is not supported by the Servlet API

Can u please help me to correct this error.

Thanking You,


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message