I am calling a servlet from GWT client code using RequestBuilder.

In the request (a POST) I am passing some request data...

       builder.sendRequest(postData, new RequestCallback()....

In postData, one of the url parameters is called "returnToUrl"

This "returnToUrl" has url parameters, and would be like this

       returnToUrl = "http://my.server/add?pn=a&pd=b";;

When I call the servlet, the second (and later) parameters (pd=b in my
example) gets interpreted as request parameters for the servlet, not
as part of the returnToUrl parameter, and hence get lost....

It is being URL encoded, but of course that doesn't change the '?' and
'&' characters.

Q. How can I pass a url with multiple parameters, as a url parameter
itself ?

-- 
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.

Reply via email to