This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes How to pass the encoding through the PostMethod of HttpClient Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How to pass the encoding through the PostMethod of HttpClient" Watch "How to pass the encoding through the PostMethod of HttpClient" New topic
Author

How to pass the encoding through the PostMethod of HttpClient

priby mathew
Greenhorn

Joined: Jan 28, 2008
Posts: 25
Greetings to all,

I am having component that sends data to another component using PostMethod of HttpClient . I want to send the type of encoding used in one component to the other component.
Is there any way to achieve this?

Any help appreciated.

Thanks in advance

priby
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20080
    
  30

Which HttpClient are you talking about? The Apache Commons Net one?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
priby mathew
Greenhorn

Joined: Jan 28, 2008
Posts: 25
I am using the following packages in my code:

org.apache.commons.httpclient.HostConfiguration;
org.apache.commons.httpclient.HttpClient;
org.apache.commons.httpclient.NameValuePair;
org.apache.commons.httpclient.methods.PostMethod;
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to pass the encoding through the PostMethod of HttpClient
 
It's not a secret anymore!