*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 19649
    
  18

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


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 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;
 
wood burning stoves
 
subject: How to pass the encoding through the PostMethod of HttpClient
 
Similar Threads
how to send XML via HTTPPost
Apache HttpClient posing trouble
this urgent --question on struts
Using PostMethod to post from a servlet without capturing the response body
Serialization using Apache's HttpClient