Ok for Now I just set the InputStreamRequestEntity, but I also don't get it really in the servlet, because it seems to be empty.
Roland Weber wrote: > >> Hm, the order of adding parameter and setting the request entity is very >> important and also confusing. > > No, it's not. You do one or the other, never both. > >> Why should the request body always be cleared when adding parameters or >> setting the request entity? > > Because POST parameters need to be encoded in a > request entity. Either you leave that to HttpClient, > or you do it yourself. > > See also our Application Design FAQ: > http://wiki.apache.org/jakarta-httpclient/FrequentlyAskedApplicationDesignQuestions#head-481bfba2695be563137380a5aa6a26c7ae4d189a > > cheers, > Roland > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Send-InputStream-via-PostMethod-tp14252100p14255674.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]