I am having a strange problem with the c:forEach tag in conjuction with c:redirect. I am using the Standard 1.0.4 taglib on a WebLogic 7.0SP2 container.
The problematic code is below (sorry if it formats strangely in email). I save the various "roles" into a session-scoped variable named userRoles. It is a string and always starts with a comma. If I have more than 21 roles in this string, any c:redirect I have below the code below refuses to work and I get a message in my logs about the response already being committed. Anyone have any ideas? --- Code Below ---- <c:forEach var="userRole" items="${userRoles}"> <c:choose> <c:when test="${userRole == 'DEVELOPER'}"> <c:set var="accessDevGranted" value="TRUE" /> </c:when> <c:when test="${userRole == 'SECRETARIAT'}"> <c:set var="accessSecGranted" value="TRUE" /> </c:when> <c:when test="${GroupAbbrevs.rowCount > 0}"> <c:forEach var="row" items="${GroupAbbrevs.rows}" varStatus="rowStatus"> <c:set var="fgl" value="FGL_${row.abbrev}" /> <c:set var="fgsl" value="FGSL_${row.abbrev}" /> <c:if test="${userRole == fgl || userRole == fgsl}"> <c:set var="accessFGGranted" value="TRUE" /> <c:set var="lead_count" value="${lead_count + 1}" /> <c:set var="lead_list" value="${lead_list},${row.abbrev}" /> </c:if> </c:forEach> </c:when> </c:choose> </c:forEach> --- End of code --- Stephen Letschin [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]