PQ59307: NESTED JSP:INCLUDE CAUSES JAVAX.SERVLET.INCLUDE.CONTEXT_PATH REQUEST ATTRIBUTE TO BE SET INCORRECTLY

APAR status
Closed as program error.

Error description
Nested jsp:include calls will cause the
javax.servlet.include.context_path request attribute to be set
incorrectly.
In fact if the requested url contains a query string , then
the javax.servlet.include.context_path request attribute
actually contains the query string , not the context_path.
JSP websphere include context_path
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of JSP's  *
*                 which do dynamic includes and expect         *
*                 the included attributes to be proper.        *
****************************************************************
* PROBLEM DESCRIPTION: Included JSP parameters are not set     *
*                      properly particularly for               *
*                      javax.servlet.include.context_path and  *
*                      javax.servlet.include.query_string      *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
When a JSP is including another JSP, the included parameters are
not set properly causing the values to be either null or
incorrect.  These values will result in a bad behavior in the
program execution.
Problem conclusion
The javax.servlet.include.query_string has been incorrectly
assigned to javax.servlet.include.context_path causing the
above behavior.  The code has been changed to set it to the
right context_path resulting in proper behavior.
Temporary fix
PQ59307 is on wasdoc0
Comments
APAR information
APAR number PQ59307
Reported component name WEBSPHERE AE NT
Reported component ID 5630A2201
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-03-21
Closed date 2002-04-15
Last modified date 2002-04-15

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
JSP          

Fix information
Fixed component name WEBSPHERE AE NT
Fixed component ID 5630A2201

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 #: PQ59307
IBM Group: Software Group
Modified date: Apr 15, 2002