PQ53310: THE GETCLASSLOADER METHOD WAS NOT ADDED BY WEBSPHERE

APAR status
Closed as program error.

Error description
Customers JSP includes a <%@ page extends which
spec states that the extends mechanism is available
for sophisticated users and it should be used with extreme
care as it restricts what some of the decisions that a JSP
container can take.  However customer still wishes to use
extends and the getClassLoader method was not added by
websphere. This does not fully comply with j2ee spec.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server 4.01            *
*                 developers using jsp 1.1 and implementing    *
*                 their own HttpJspPage with useBean tags.     *
****************************************************************
* PROBLEM DESCRIPTION: JSP fails to compile when customer      *
*                      uses extends directive in jsp page      *
*                      for jsp 1.1.  The customer wants        *
*                      to implement their own                  *
*                      implementation of HttpJspPage.          *
*                      Error message: method                   *
*                      getClassLoader() not found in           *
*                      <jsp_name>.                             *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The version of Jasper that WebSphere originally ported
to WAS3.5.2 contained a method called getClassLoader()
that was needed to instantiate beans.  This method is
not required by the jsp1.1 specification and caused
compile time failures for customers wishing to implement
their own HttpJspPage who did not implement this method.
Since the specification did not require this method
to be implemented, WebSphere was not implementing jsp1.1
according to specification.
Problem conclusion
Since WebSphere requires the method getClassLoader for it's
implementation of HttpJspPage, WebSphere now checks for the
existence of the extends directive. If customer implements
their own HttpJspPage, change the instantiation to not rely
on the existence of getClassLoader implemented by WebSphere.
Temporary fix
//wasdoc0/apars/pq53310/4.0.1
Comments
APAR information
APAR number PQ53310
Reported component name WEBSPHERE AE SO
Reported component ID 5630A2202
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2001-10-11
Closed date 2001-10-16
Last modified date 2001-10-16

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

APAR is sysrouted TO one or more of the following:

Modules/Macros
JSP          

Fix information
Fixed component name WEBSPHERE AE SO
Fixed component ID 5630A2202

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 #: PQ53310
IBM Group: Software Group
Modified date: Oct 16, 2001