Tim Moores wrote:Which classpath is that? It needs to be in the servlet container's WEB-INF/lib directory if it's used in the web app.
Thanks Tim for your time on this..
Yes, I have added the Apache jars (httpclient-4.1.3.jar, httpcore-4.1.4.jar, commons-logging-1.1.1.jar) to the WEB-INF/lib directory as well as in the eclipse project build configuration. I believe the HttpEntity is a part of the httpcore. The strange thing is that none of the println traces are visible on the console.
I have a feeling the problem is something really silly that I have missed in the sequence of calls either on client or server. But unable to get to it.