aspose file tools
The moose likes Other Open Source Projects and the fly likes send post request with HttpClient and use servlet to display the request Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "send post request with HttpClient and use servlet to display the request" Watch "send post request with HttpClient and use servlet to display the request" New topic
Author

send post request with HttpClient and use servlet to display the request

Alexandru Gifei
Greenhorn

Joined: May 19, 2012
Posts: 18
Hello i am sending a post message using a HttpClient. But i dont see the request in my servlet. I am sure this method is fine, i used it before. I tried with another method too.
Java code:
Method 1:

Method 2:


Servlet code:

Also, when i submit the "message" from input button (html) the request message is displayed fine, is not null:
html code:


What is wrong in my servlet code? I really need help to know what is wrong.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: send post request with HttpClient and use servlet to display the request
 
Similar Threads
Post the data to Server
Reg Manual Creation of new Topics -
How to post data from android app to php page
getParameter in jsp file sent by HttpClient
Problem in receiving data in servlet from android client?