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=1233465Problem 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.2Comments
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 #: PQ59543
IBM Group: Software Group
Modified date: May 17, 2002
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.