Thanks! That solution obviously worked. Cheers, Michelle
--- Roland Weber <[EMAIL PROTECTED]> wrote: > Hello Michelle, > > > But...if I use HTTP client setting all the > parameters > > as request parameters and the text of the document > in > > httppost.setRequestEntity(new > > > ByteArrayRequestEntity(documentAsString.getBytes())); > > > > Then of course, none of the request parameters get > > sent to the server. > > No, of course not. Why do you try to convert > parameters > to a ByteArrayRequestEntity? The > MultipartRequestEntity > is specifically designed to send parameters and to > convert > them to the correct multipart-mime format. > > http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/methods/multipart/MultipartRequestEntity.html > > hope that helps, > Roland > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
