APAR status
Closed as program error.
Error description
When we have an error page in our application (error.jsp),
the return code from the HTTP GET request always says 200
instead of 404 for invalid URL requests. This causes a problem
with our help system that tries to find files based on the user
locale and uses the HTTP response status code to determine if
the file was found or not. This used to work on WAS 5.0.1
but seems to have broken in 5.0.2. This is simalar to defect
149420 but only applies when an error is in use.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server 5.0.2 users of *
* the error.jsp file to display an error *
* condition. *
****************************************************************
* PROBLEM DESCRIPTION: When an error page ( error.jsp ) is *
* used we are using an error page in an *
* application, the return code from an *
* HTTP GET request always return 200 *
* instead of 404 when the URL requests is *
* invalid. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
The error page response status code should not set to 200, but
to retain whatever status code was set during the generation
of the exception. The reason for WebSphere forcing the 200
status code on the error pages is becasue Microsoft Internet
Explorer would not show the error pages unless the status was
200.
Problem conclusion
To solve this problem, the code to set the status code to 200
was removed.
Temporary fix
fix driver is bulit and ready to post to
pq99999 after V5.02 GA
Comments
APAR information |
APAR number |
PQ76144 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2003-07-09 |
Closed date |
2003-09-11 |
Last modified date |
2003-09-11 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
|