tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46652] New: HttpServletRequest.getQueryString() always returns null
Date Mon, 02 Feb 2009 22:43:31 GMT

           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

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message