PQ45800: JSP'S THAT USE AN INCLUDE STATMENT WITH A RELATIVE PATH FAIL. THIS IS FOR 3.5.2 ONLY


APAR

APAR status
Closed as program error.

Error description
Customer upgraded to 3.5.2. JSP's that use an include statement
using a relative path fail.
Local fix
The customer can put all the JSPs in one directory or
they can put a leading slash to make all the JSP includes relati
ve to the document root.
Problem summary
a jsp:include tag will fail when in a relative path.
Problem conclusion
WebAppDispatcherContext, WebAppRequestDispatcher, and both
implementations of PageContextImpl (org.apache.jasper.runtime
and com.sun.jsp.runtime).
.
Added a private Stack to WebAppDispatcherRequest to store the
URIs that have been visited during the current request.  Added
public methods to push URLs to and remove URIs from this stack.
The push method converts a passed relative URI to an absolute
one using the top item on the URI visited list.  Modified
getRequestDispatcher to convert passed relative URIs to
absolute ones using the top item on the visited resource list.
.
To WebAppDispatcherContext added push and pop methods that
invoke the ones on WebAppDispatcherRequest.  The
WebAppDispatcherRequest is not visible to the
WebAppRequestDispatcher, but the WebAppDispatcherContext is.
.
In handleWebAppDispatcher::WebAppRequestDispatcher push the
value of the String servletPath onto the list of visited
URIs (via the WebAppDispatcherContext method) every time
pushServletReference is invoked on the WebAppDispatcherContext.
Pop the visited URI stack every time popServletReference is
invoked.
.
In PageContextImpl changed the include and forward methods to
invoke getRequestDispatcher on the request (servlet 2.2 API
style) and not the servlet context (servlet 2.1 API style).
Temporary fix
Comments
APAR information
APAR numberPQ45800
Reported component nameWAS ADVANCED SU
Reported component ID5648C8402
Reported release350
StatusCLOSED PER
PENoPE
HIPERNoHIPER
Submitted date2001-02-05
Closed date2001-03-28
Last modified date2001-03-28

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:APAR is sysrouted FROM one or more of the following:


Modules/Macros
ENGINE
APAR is sysrouted TO one or more of the following:Modules/Macros

Fix information
Fixed component nameWAS ADVANCED SU
Fixed component ID5648C8402

Applicable component levels
R350 PSYUP











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, General
Software version: 350
Reference #: PQ45800
IBM Group: Software Group
Modified date: 2001-03-28