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_pathLocal 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 wasdoc0Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
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
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.