Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Httpclient  RSS feed

 
mira shawky
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey all
iam using HttpClient and i want to send some xml text using GetMethod(string URL) to a servlet ,,and then can retrieve this text by the servlet using doGet method
anyone has a clue how to do this ??
thanks all
 
Pat Farrell
Rancher
Posts: 4686
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not use POST, that's what its for.
 
mira shawky
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you tell me which method exactly to use in Post method ,,, i men with its attributes
 
Pat Farrell
Rancher
Posts: 4686
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are not here to write your code for you, we are willing to help when you've done some work and hit a problem
Show some effort

You should get the sample applications in the Apache HttpClient programs to work. Understand what they do. It will become clear.
 
mira shawky
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok ,,, thnx anyway
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!