When you say "doesn't get passed to the server", does this mean ...

You've traced the call on the network and verified that the parameters are
being sent from the client to the server over the wire?
Or that you've attempted to get these parameters out of the
HttpServletRequest object on the server side and failed to get any data?

--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Thu, Apr 4, 2013 at 9:58 AM, Erich Bremer <[email protected]> wrote:

> Hi,
>
>     I am testing a simple Jetty 9 http client with the following code:
>
>             HttpClient httpClient = new HttpClient();
>             URI uri = new URI("http://myserver.com/**
> serverprog?param=http://**someuri.com<http://myserver.com/serverprog?param=http://someuri.com>
> ");
>             httpClient.start();
>             HttpRequest r = new HttpRequest(httpClient, uri);
>             r.method(HttpMethod.POST);
>
> It works beautifully for POST, but if I change it to PUT, the "?param=
> http://someuri.com"; doesn't get passed to the server where it does with
> the POST.  Any thoughts?  Thanks, Erich
> ______________________________**_________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/**mailman/listinfo/jetty-users<https://dev.eclipse.org/mailman/listinfo/jetty-users>
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to