PQ73595: TSX:REPEAT TAG GENERATES IMCOMPLETE ELEMENT | |||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Tsx:repeat tag not working properly The loop processing using <tsx:repeat>tag of IBM extensions to JSP. Syntax can not be finished nomally JSP TSX TAG LIBRARY REPEAT WASENGLocal fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server users of a * * repeat tag. * **************************************************************** * PROBLEM DESCRIPTION: Repeat tag generates incomplete * * element. * **************************************************************** * RECOMMENDATION: * **************************************************************** The last element could be incomplete if a repeat body throws an exception. The incomplete element should be discarded.Problem conclusion Additional layer of buffering for repeat tag body. If the body finishes normally, the buffered element is pushed into the repeat tag output, otherwise, the buffer is cleared. JSP tag generator code has been modified to fix the problem.Temporary fix Another layer of buffered JspWriter has been added to buffering an element in a repeat tag. If the element successfully generated, the result will be write out to its parent JspWriter. In case an exception thrown in the element generation, the partially generated element will be discarded. All exceptions are absorbed, JSP will not recevie any exception according to the spec. If the exception is used for loop termination, bufferred output will be write out to response. All other exception will clear buffer, nothing from the repeat tag will go to response. A stack trace log will be generated if any unwanted exception is thrown in a repate tag.Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ73595
IBM Group: Software Group
Modified date: Jun 9, 2003
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.