tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime Colas des Francs <>
Subject Re: forward error
Date Fri, 05 Sep 2003 14:26:17 GMT
thanks !

i put all my <c:forEach> loop in the same line and it's work.

is there a solution for limit whitespace generated by JSTL code ?

or i have to put all loop of my application in one line ??

At 09:50 2003-09-05 -0400, you wrote:
>The last thing your page does is  <jsp:forward page="/index.jsp"/>.
>Before that is a <c:forEach items="${ctcRow.rows}" var="row"> loop. You 
>are probably filling up the buffer with whitespace, then the repsonse gets 
>committed when the buffer is full.
>Maxime Colas des Francs wrote:
>>thks for your response, but here is my code, i don't understand where the 
>>response is commited !
>><%@ page contentType="text/html; charset=iso-8859-1" language="java" 
>><%@ taglib prefix="c" uri="" %>
>><%@ taglib prefix="log" uri="" %>
>><%@ taglib prefix="sql" uri="" %>
>><sql:query var="ctcRow">
>>    SELECT DISTINCT email FROM ctc ORDER by email
>><c:forEach items="${ctcRow.rows}" var="row">
>>         <log:info category='<%= request.getRemoteUser() %>'>
>>            <c:out value="${}"/>
>>         </log:info>
>><jsp:forward page="/index.jsp"/>
>To unsubscribe, e-mail:
>For additional commands, e-mail:

View raw message