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 fixComments
APAR information | APAR number | PQ45800 | Reported component name | WAS ADVANCED SU | Reported component ID | 5648C8402 | Reported release | 350 | Status | CLOSED PER | PE | NoPE | HIPER | NoHIPER | Submitted date | 2001-02-05 | Closed date | 2001-03-28 | Last modified date | 2001-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 APAR is sysrouted TO one or more of the following:Modules/Macros
|
Fix information |
Fixed component name | WAS ADVANCED SU | Fixed component ID | 5648C8402 |
Applicable component levels | R350 PSY | UP |
|