APAR status |
Closed as program error.
| Error description
AFTER APPLYING EFIX PQ55090, APPLICATION THROWING JSP 1.0
PROCESSOR COMPILE EXCEPTIONS. com.sun.jsp.JspException.
After upgrade from WAS 3.5.3 to WAS 3.5.6, JSP 1.0 compatibility
mode, JSP compilation errors thrown. The same JSP works fine in
WAS 3.5.3. The APAR PQ55090 is causing this exception. PQ55090
is included in WAS 3.5.6 Local fixProblem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server developers *
* using jsp 1.0 and useBean tags. *
****************************************************************
* PROBLEM DESCRIPTION: JSP useBean tags fail to compile *
* when bean instance is an abstract *
* class, interface or a class without *
* a zero argument constructor. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
After applying PQ55090, WebSphere fails to adhere to
the jsp specification with regards to instantiation of
java beans using the <jsp:useBean /> tag.
----------- JSP SPEC 1.0 ------------------
ftp://ftp.java.sun.com/pub/jsp/798flk/jsp1_0-spec.pdf
Section 2.13.1
5. If the object is not found in the specified scope; and the
class specified names a nonabstract class that defines a
public no-args constructor, then that class is instantiated,
and the new object reference is associated the with the
scripting variable and with the specified name in the
specified scope using the appropriate scope dependent
association mechanism (see PageContext). After this, step 7
is performed.
----------------------------------------------- Problem conclusion
The customer that requested the APAR for the original defectPQ55090, misinterpeted the specification. However, since
the behavior change request was accepted by L3 Support,
the behavior will not be removed. To enable the original
behavior requested in PQ55090, do the following...
<WAS_ROOT>/properties/global.properties (create if needed)
add line --> com.sun.jsp.useBeanConstructorMethod=true
This APAR will return the default behavior for <jsp:useBean/>
to the way 3.5.5 and earlier releases worked for jsp 1.0. Temporary fix
//wasdoc0/apars/pq63036/3.5.6 Comments
APAR information | APAR number | PQ63036 | Reported component name | WAS ADVANCED AI | Reported component ID | 5648C8400 | Reported release | 350 | Status | CLOSED PER | PE | NoPE | HIPER | NoHIPER | Submitted date | 2002-07-10 | Closed date | 2002-07-11 | Last modified date | 2002-07-22 |
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 AI | Fixed component ID | 5648C8400 |
Applicable component levels | R350 PSY | UP |
|