Hi Joakim,

    HttpServletRequest.  I displayed the values using:

System.out.println(request.getMethod()+" "+request.getRequestURI()+" "+request.getQueryString());

I also checked on the http server monitor in NetBeans which is configured to use Tomcat as the servlet engine. I originally noticed using a different server application, but I wrote a simple servlet to double check.

            - Erich

On 4/4/2013 2:45 PM, Joakim Erdfelt wrote:
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] <mailto:[email protected]>>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty <http://eclipse.org/jetty/> - cometd.org <http://cometd.org/>


On Thu, Apr 4, 2013 at 9:58 AM, Erich Bremer <[email protected] <mailto:[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";);
                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] <mailto:[email protected]>
    https://dev.eclipse.org/mailman/listinfo/jetty-users




_______________________________________________
jetty-users mailing list
[email protected]
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