-----Original Message-----
From: Moonhyoung Lee [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 7:05 AM
To: [EMAIL PROTECTED]
Subject: How do I get query string?

Hi.
How do I get query string when the request were POSTed (application/x-www-form-urlencoded).
request.getQueryString() seems to return null in this case.
 
Thanks in advance. ;-)
Have you tried
 
Enumeration e   = request.getParameterNames();
String[]         val = null;
while (e.hasMoreElements())
{
    String s = (String)e.nextElement();
    val = request.getParameterValues(s);
    // ... operate on val[] ...
}
 

 ---
Michael Wentzel
Software Developer
<A HREF="http://www.aswethink.com">Software As We Think</A>
<A HREF="mailto:[EMAIL PROTECTED]">Michael Wentzel</A>

Reply via email to