APAR status
Closed as program error.
Error description
JSP 1.2 specification is not clear about identifying TLD files
in a web application. So, WebSphere is not trying to find the
TLD files inside the WEB-INF folder of the web application.
JSP 2.0 specification clarifies the issue. Here is an extract
from 7.3.4 of JSP 2.0 Specification:
The container searches for all files with a .tld extension
under /WEB-INF or a subdirectory, and inside JAR files that are
in /WEB-INF/lib. When examining a JAR file, only resources under
/META-INF or a subdirectory are considered.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users using *
* taglib in JSPs. *
****************************************************************
* PROBLEM DESCRIPTION: JSP Engine can't find tld files under *
* the WEB-INF directory, when the tag *
* in a JSP points to the web. *
* *
* *
****************************************************************
* RECOMMENDATION: *
****************************************************************
JSP engine did not look for tld files from WEB-INF. It throws
FileNotFoundException instead.
JSP spec 1.2 is not clear about when JSP engine should load
tld file from WEB-INF. Spec 2.0 clarified the issue, and the
same rule should be applicable to 1.2.
Problem conclusion
Loads tld file from WEB-INF if the <taglib> tag in a JSP
points to a resource on the WEB. The path of the taglib
after hostname should match the subdirectory structure
under WEB-INF.
Temporary fix
test fix posted on
pq99999.
Comments
APAR information |
APAR number |
PQ84196 |
Reported component name |
WAS NETWRK DEPL |
Reported component ID |
5630A3601 |
Reported release |
00A |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-02-04 |
Closed date |
2004-03-10 |
Last modified date |
2004-03-10 |
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 |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|