https://issues.apache.org/bugzilla/show_bug.cgi?id=46652

           Summary: HttpServletRequest.getQueryString() always returns null
           Product: Tomcat 6
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: j...@leeclemens.net


request.getQueryString() in a JSP always returns null.

To reproduce:

Create test JSP page, test.jsp, with scriptlet

<%
    String qryStr = request.getQueryString();
    if (qryStr==null) {
        out.writeln("Query String is null!);
    } else {
        out.writeln("Query String is: " + qryStr);
    }
%>

Type "http://<server>/<context>/test.jsp?a=1&b=2" in your browser (IE 6 SP2)

Query String is null! is displayed


Expected result:

Query String is: a=1&b=2


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to