APAR status |
Closed as program error.
| Error description
If DBCS charactor is in internal buffer of javax.servlet.
jsp.JspWriter class. Then getBuffersize() and getRemaining()
return invalid value.
API document of JspWriter says that getRemaining() method
should return the size of the buffer in bytes.
But Websphere's implementation returns the number of chars
instead of bytes. Local fixProblem summary<html><body><% int a, b, c; %><% a = out.getRemaining(); %>X<% b = out.getRemaining(); %>Y<% c
=out.getRemaining();><pre>
a = <%= a %>
b = <%= b %>
c = <%= c %></pre></html>
You will see the value of out.getRemaining() be reduced by 2 for
char printed. Can run this jsp before and after 3.55. The
diff is that 3.55 will be 2 times 3.54. Problem conclusion
ptf. Temporary fixComments
APAR information | APAR number | PQ49986 | Reported component name | WAS ADVANCED SU | Reported component ID | 5648C8402 | Reported release | 350 | Status | CLOSED PER | PE | NoPE | HIPER | NoHIPER | Submitted date | 2001-06-26 | Closed date | 2001-08-22 | Last modified date | 2001-08-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 SU | Fixed component ID | 5648C8402 |
Applicable component levels | R350 PSY | UP |
|