Hm, the order of adding parameter and setting the request entity is very important and also confusing. When I add parameter first, and then set the request entity, the parameter disappeared or better, the params field is empty. Otherwise, when I set the request entity first, then add the parameters, the request entity is null again. Very strange :-S Why should the request body always be cleared when adding parameters or setting the request entity? For now I override the clearRequestBody method, but this also doesn't help. The InputStream makes it to the request body and I get it in the servlet, but not the parameters.
Any help? Rooboo wrote: > > I searched the internet for a solution to transfer an InputStream via the > PostMethod. I found an article in a mailinglist which is simliar to my > code. > -- View this message in context: http://www.nabble.com/Send-InputStream-via-PostMethod-tp14252100p14254164.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]