PQ70031: POST REQUEST WITH QUERY STRING TO SERVLET DOES NOT RETRIEVE PARAMETERS IN QUERY STRING BY REQ.GETPARAMETER(..). | |||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Post request with query string to servlet does not retrieve parameters in query string by req.getParameter(..). But, req.get QueryString() retrieved the query string which has parameters passed t the servlet. Websphere 5.0 POST parametnames parameter query stringLocal fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server users that * * send post data without a content type. * **************************************************************** * PROBLEM DESCRIPTION: WebSphere fails to add query string * * data to the list of request parameters * * when receiving a POST request with * * a content type of null. * **************************************************************** * RECOMMENDATION: * **************************************************************** User is creating a custom client (ie not using a web browser) to send post requests to WebSphere. Since the custom client is not specifying a content type, WebSphere is not parsing the request parameters properly.Problem conclusion Modified WebSphere's implementation of HttpServletRequest to properly handle post requests without a content type. WebSphere will now parse the query string but ignore the post data in the body of the request.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ70031
IBM Group: Software Group
Modified date: Jan 24, 2003
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.