Ricardo Prado wrote:I've tried to use this URLEncoder but it also encode my "&" sign (well, I could encode the parameters then concatenate it).
Ricardo Prado wrote:The strange thing is that is works in another project(the SAME CLASSES) but not on this one! And server is also the same! O.o
William Brogden wrote:It might be interesting to write the object to a byte array output stream, then write the byte so you could plug the size into the content-length header first.