PQ73130: TSX:REPEAT TAG SHOULD NOT THROW EXCEPTION | |||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||
![]() 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: When a bean in repeat tag throws an * * exception, the page finished partially * * right at the point of the exception. * **************************************************************** * RECOMMENDATION: * **************************************************************** The repeat tag should not throw any exception. In case of ArrayOutOfBoundaryException or NoSuchElementEception being thrown, the repeat tag should terminate normally. Any other exception should only discard the repeat tag as a whole.Problem conclusion JSP compiler classes that generate repeat tag have been modified. ArrayOutOfBoundaryException and NoSuchElementException are used to terminate looping of the repeat tag. All other exceptions will clear all output of the repeat tag and log the exception information in the log.Temporary fix Catch ArrayOutOfBoundaryException and NoSuchElementException to terminate loop of a repeat tag. Catch all other exceptions and clear output buffer of the repeat tag, exception trace is logged.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 #: PQ73130
IBM Group: Software Group
Modified date: May 12, 2003
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.