hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Glück <ortwin.glu...@nose.ch>
Subject Re: Posted data losing the last 2 characters when you submit an @ symbol ?
Date Fri, 10 Dec 2004 15:47:57 GMT

you can use PostMethod#addParameter(String, String) to set POST 
parameters. You do not need to care about URL encoding them, as 
HttpClient will do that for you.

So a simple:

postmethod.addParameter("myemail", "ortwin.glueck@nose.ch");

will correctly encode and transfer the parameter to the server.


Ortwin Glück

To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org

View raw message