This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Using POST in servlet" Watch "Using POST in servlet" New topic
Author

Using POST in servlet

Ronno
Greenhorn

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

Any ideas ?

Thanks,

Ron
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 ]
 
 
subject: Using POST in servlet