File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Using POST in servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Using POST in servlet" Watch "Using POST in servlet" New topic

Using POST in servlet


Joined: Jan 20, 2005
Posts: 2
I am looking to do a POST request to a URL from within a servlrt.

Any ideas ?


K Riaz
Ranch Hand

Joined: Jan 08, 2005
Posts: 375
So, you want to push data to another server. You would probably need something like HttpClient to talk to the web server and create a POST request. You can also use HttpURLConnection from the JDK.
[ May 17, 2005: Message edited by: Kashif Riaz ]
I agree. Here's the link:
subject: Using POST in servlet
jQuery in Action, 3rd edition