PQ95408: JSP THROWS A CLASSCASTEXCEPTION AT RUNTIME WHEN JSTL-RT AND JSTL-EL TAGS ARE USED IN THE SAME PAGE

 Fixes are available

5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for AIX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Windows
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for HP-UX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Solaris
5.1.1.6: WebSphere Application Server Version 5.1.1 Cumulative Fix 6
5.1.1.7: WebSphere Application Server Version 5.1.1 Cumulative Fix 7
5.1.1.4: WebSphere Application Server Version 5.1.1 Cumulative Fix 4
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Linux



APAR status
Closed as program error.

Error description
The error involves using both EL and RT versions of a tag
on the
same JSP page. It appears that the JSP compiler only creates a
cached
instance of the RT version of the tag. However, when the EL
version is
referenced in the JSP the compiler erroneously casts the RT
version to
Local fix
n/a
Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server JSP users   *
****************************************************************
* PROBLEM DESCRIPTION: JSP fails when JSTL-RT and JSTL-El tags *
*                      are used in the same page               *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
JSP throws a ClassCastException at runtime when JSTL-RT and
JSTL-El tags are used in the same page
Problem conclusion
Application Server's JSP compiler has implemented a new
algorithm to properly differentiate JSTL-RT and JSTL-EL tags.
Temporary fix Comments
APAR information
APAR number PQ95408
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 2004-10-07
Closed date 2004-11-08
Last modified date 2004-11-18

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
JSP          

Publications Referenced

Fix information

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00P PSY    UP
R00S PSY    UP
R00W PSY    UP
R103 PSY    UP
R10A PSY    UP
R10H PSY    UP
R10I PSY    UP
R10P PSY    UP
R10S PSY    UP
R10W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ95408
IBM Group: Software Group
Modified date: Nov 18, 2004