On Thu, 2010-10-28 at 14:06 +0200, Andreas Ernst wrote:
> Hi,
> 
> i try to post datas to a page.
> 
> Wireshark say Firefox uses this value: dnn$dnnSEARCH$txtSearch.
> With httpclient it is: dnn%24dnnSEARCH%24txtSearch.
> 
> I have no glue if this is the issue, that i did not get the expected 
> result, but how to set up that the value is like in Firefox.
> 
> List<NameValuePair> nvps = new ArrayList<NameValuePair>();
> nvps.add(new BasicNameValuePair("dnn$ctr5516$Search$txtSearch", ""));
> httppost.setEntity(new UrlEncodedFormEntity(nvps, HTTP.UTF_8));
> 
> TIA
> Andreas


You have to build a custom HttpEntity implementation similar to
UrlEncodedFormEntity if you want to use a non-standard content encoding.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to