PQ58977: AFTER PQ58576 INCLUDED JSP PARAMETERS ARE NOT BEING PICKED UP BYREQUEST.GETATTRIBUTE("JAVAX.SERVLET.INCLUDE.QUERY_STRING")

APAR status
Closed as program error.

Error description
Dynamically set jsp:param variables are not being picked up by
request.getAttribute("javax.servlet.include.query_string")
as expected. An example would be as follows:
<html>
<head><title>Testcase for PMR 27559,004,000</title></head>
<body>
<p>This is test1.jsp.
<p>Including test2.jsp....
<jsp:include page="/test2.jsp" flush="true">
 <jsp:param name="foo" value="bar"/>
 <jsp:param name="hello" value="world"/>
</jsp:include>
</body>
</html>
and test2.jsp is:
...
<% String qs1 = (String) request.getAttribute("javax.servlet.
                include_query_string");
<% String qs2 = (String) request.getQueryString(); %>
<% java.util.Enumeration pnames = request.getParameterNames();
     %>
...
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users having    *
*                 jsp or servlets doing a dynamic include to   *
*                 another resource and expecting the query     *
*                 string of an included attribute.             *
****************************************************************
* PROBLEM DESCRIPTION: Included JSP Parameters are not being   *
*                      picked up by request.getAttribute       *
*                      ("javax.servlet.include.query_string")  *
*                      as expected.                            *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The problem exists because of the
javax.servlet.include_querystring .
This querystring is not being set properly in
request.getAttribute.
Problem conclusion
The code was corrected so that the correct JSP parameters are
being included.
Temporary fix Comments
APAR information
APAR number PQ58977
Reported component name WEBSPHERE AES N
Reported component ID 5630A2301
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-03-12
Closed date 2002-03-21
Last modified date 2002-09-30

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros

Fix information
Fixed component name WEBSPHERE AES N
Fixed component ID 5630A2301

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ58977
IBM Group: Software Group
Modified date: Sep 30, 2002