Vijaya Kumar wrote:
> Hi Remy,
> Can u tell me the place where you kept the source code for
> "org.apache.commons.httpclient" package.
It should be on the Commons site (http://jakarta.apache.org/commons/index.html)
but that site is down.
You can browse the cvs here:
http://cvs.apache.org/viewcvs/jakarta-commons/httpclient/
> One more thing, What actually happens while trying to create the
> connection with the server. How you are establishing the connection to the
> server whether using the Sockets or URLConnection.
We are using Sockets see HttpClient.openConnection()
> Do you have any idea of how to pass the headers to the servlet
> from the application.
On a HttpMethod use: public void setHeader(String headerName, String
headerValue);
Dirk