Thank you Thomas,
but with builder.setHeader("Content-Type", "application/x-www-form-
urlencoded") ;
the servlet receives NO request :(. If I comment this, the servlet
gains the request with null Parameters.
Sorry.
On 23 Dez., 10:28, Thomas Broyer <[email protected]> wrote:
> You're not setting the Content-Type of the request payload, and servlet
> containers generally only decode request payload that are explicitly
> identified as application/x-www-form-urlencoded.
>
> In your doPost, you should add a builder.setHeader("Content-Type",
> "application/x-www-form-urlencoded") before the call to
> builder.sendRequest().
>
> (and thanks a lot to the new Google Groups for offering an inline
> translation service !)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.