File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes sending https post request from servlet to another server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "sending https post request from servlet to another server" Watch "sending https post request from servlet to another server" New topic
Author

sending https post request from servlet to another server

Abhishek Yadav
Greenhorn

Joined: Nov 15, 2006
Posts: 26
Hi,

I have an application for which front end is in J2ME and backend is implemented using servlet. I am using tomcat 6. I have a requirement of sending https POST request to another server(Payment Server) from my servlet code. Please guide me, how to do it. Thanks in advance.

Abhishek Yadav
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Use java.net.URLConnection or Apache Commons HttpClient.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sending https post request from servlet to another server