PQ68641: INVALID DATA DISPLAYED AT THE BROWSER WHEN USING THE JSP INCLUDETAG WITH WEBSPHERE V4.01 ON OS/390

 A fix may be available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
Customer has a jsp that includes the following code:
<jsp:include  page="pageInclude.inc" />
where pageInclude.inc contains a title line to be displayed at
the browser.  When pageInclude is ASCII, the customer sees
garbage (binary data) displayed at the browser.  When
pageInclude is EBCDIC, it displays correctly. Because '.inc' is
not a defined type, pageInclude.inc is being read by
SimpleFileServlet, which uses the EBCDIC charset.
SimpleFileServlet should use ASCII encoding to read this file.
Local fix
There are three possible workarounds for this problem:
.
1) Use the Include directive instead of jsp:include.  For
   example: <%@ include  file="pageInclude.inc" %>
.
2) Use a suffix of '.jsp' on the included part.  This will cause
   the part to be read by the JSP processor (which uses the
   ASCII charset) instead of SimpleFileServlet.
.
3) Change the part to be included to EBCDIC.
Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V4.0.1 for z/OS and OS/390.                  *
****************************************************************
* PROBLEM DESCRIPTION: Customer has a JSP file that contains:  *
*                      <jsp:include  page="pageInclude.inc" /> *
*                                                              *
*                      When JSP was executed, pageInclude.inc  *
*                      file  content displayed was unreadable. *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Because of the file extension, pageInclude.inc file was served
by the SimpleFileServlet. A InputStreamReader was incorrectly
constructed with pageInclude.inc file by SimpleFileServlet
using the default character encoding (EBCDIC, Java system
property file.encoding for z/OS and OS/390). Therefore,
unreadable characters were displayed on browser.
Problem conclusion
SimpleFileServlet code in the WebSphere Application Server Web
container code has been changed to construct InputStreamReader
correctly using character encoding ISO-8859-1.

APAR 
PQ68461 is associated with SERVICE LEVEL W401407 of
WebSphere Application Server V4.0.1 for z/OS and OS/390.
Temporary fix Comments
APAR information
APAR number PQ68641
Reported component name WEBSPHERE OS/39
Reported component ID 5655A9800
Reported release 401
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-11-27
Closed date 2002-12-20
Last modified date 2003-02-05

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
EJSJWCSC EJSJWC04        

Fix information
Fixed component name WEBSPHERE OS/39
Fixed component ID 5655A9800

Applicable component levels
R401 PSY UQ72838    UP03/01/03 P F301

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 401
Software edition:
Reference #: PQ68641
IBM Group: Software Group
Modified date: Feb 5, 2003