i m using eclipse ide and when i run my program everything works fine but when i run the same program on server then it gives me this exception and i have already put my all far
Add Http core jar to your build path, find the required jar from this url. http://www.java2s.com/Code/Jar/h/Downloadhttpcorejar.htm
deploy the jar and then compile, your error will be resolved.