users@glassfish.java.net

Re: Servlet not getting POST data?

From: <glassfish_at_javadesktop.org>
Date: Fri, 09 Mar 2007 17:54:21 PST

Hi Jan,

You are right. What I wrote about the query string was gibberish - that was just for testing, but I didn't figure correctly that the POST will not include values in the query string. In the actual Servlet, I get the form data using the standard request.getParameter("xyz") format (which is set by the default servlet code to work with POST and GET).

So, I agree - the fact that the query string does not show anything is not determinative. But the problem exists even with request.getParameter("xyz").

dailysun.
[Message sent by forum member 'dailysun' (dailysun)]

http://forums.java.net/jive/thread.jspa?messageID=207207