You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Eric Trepanier <fo...@hotmail.com> on 2000/02/09 07:38:16 UTC

mod_jserv/5726: Can't get parameters from GET request

>Number:         5726
>Category:       mod_jserv
>Synopsis:       Can't get parameters from GET request
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Tue Feb 08 22:40:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     fordev55@hotmail.com
>Release:        ApaApache/1.3.9 (Unix)  (NetRevolution Advanced Server/Linux-Mandrake ApacheJServ/1.1b3
>Organization:
apache
>Environment:
uname -a:
Linux myhostmdk #1 Tue Sep 7 18:23:11 CEST 1999 i686 unknown
(mandrake 6.5)
>Description:
When I do a GET method request (let's say 
http://mysite.com/servlets/myServlet?param1=test1&param2=test2), the 
request.getParameter("param1") method, getQueryString() method and every methods
that accesses the request parameters always return null. Although, it's working
fine with a POST request. It is not a problem in the code since I tried several
example servlets i got from the net and they all had the same problem.
I'm compiling the servlets using jdk1.2.2 and jsdk2.1. I run several CGIs (c++)
on the same web and they don't have that problem.
>How-To-Repeat:
Since it is surely a misconfiguration on my side, I can't answer that.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]