1

Possible Duplicate:
How to use java.net.URLConnection to fire and handle HTTP requests?

I need to do a http post call to an external URL from my servlet. And I need to add some custom http headers too to the message. Is this possible ? please provide me a guidance.

Community
  • 1
  • 1
SureshAtt
  • 1,851
  • 2
  • 17
  • 22

1 Answers1

1

You can try apache HttpClient library.

Marinos An
  • 6,191
  • 2
  • 35
  • 68