Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using POST in servlet

 
Ronno
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking to do a POST request to a URL from within a servlrt.

Any ideas ?

Thanks,

Ron
 
K Riaz
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic