PQ59543: CONTEXT PATH AS A LINK IN A JSP DOESN'T WORK WHEN URL REWRITING IS ENABLED.

APAR status
Closed as program error.

Error description
When URL rewriting is enabled , using context path as a link in
a jsp page, does not work. You get a HTTP 404 error - page not
found. If a slash "/" character is added to the context path,
or if a sub directory is used in addition to the context path,
then it works.
Local fix
There is no workaround. An efix will be provided.
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server developers      *
*                 using URL Rewriting and Welcome Files.       *
****************************************************************
* PROBLEM DESCRIPTION: Welcome File page requests fail when    *
*                      URL Rewriting is enabled.               *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
When URL Rewriting is enabled, the matching of urls fails
if the Welcome File request does not end with a slash.
failed request:

http://localhost/webapp/examples;jsessionid=1233465
sucessful request:

http://localhost/webapp/examples/;jsessionid=1233465
Problem conclusion
Modified the url pattern matching to ignore the session id
string starting with ";jsessionid" when handling url requests.
Temporary fix
//wasdoc0/apars/pq59543/4.0.2
Comments
APAR information
APAR number PQ59543
Reported component name WEBSPHERE AE NT
Reported component ID 5630A2201
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-03-28
Closed date 2002-04-16
Last modified date 2002-05-17

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
ENGINE          

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 #: PQ59543
IBM Group: Software Group
Modified date: May 17, 2002