PQ88635: the value of javax.servlet.include.query_string,this attribute be get from the request of the servlet calling include method | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description the value of javax.servlet.include.query_string attribute. The attribute should be get from the request of the servlet calling include method, rather than the request (wrapper) passed into included servlet. According to Servlet spec 2.3 (SRV. 8.3.1) Included Request Parameters states that: "... a servlet being used from within an include has access to the path by which it was invoked. The following request attributes are set: ....... javax.servlet.included.query_string The attribute are accessible form the included servlet via the getAttribute method on the request object."Local fix No work aroundProblem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server users of * * RequestWrapper * **************************************************************** * PROBLEM DESCRIPTION: The value of attribute * * javax.servlet.include.query_string * * was from the request that starts a * * servlet chain. It may not be the * * original to this include. * **************************************************************** * RECOMMENDATION: * **************************************************************** The value of attribute javax.servlet.include.query_string should be from the request when requestDispatcher is created, not from the request that starts the servlet chain.Problem conclusion When we get a servlet request dispatcher, we will save the current request as the original request. Include will use the saved query string from the original request to set javax.servlet.include.query_string.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: 00A
Software edition:
Reference #: PQ88635
IBM Group: Software Group
Modified date: Jun 9, 2004
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.