tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9590] New: - cookies stop sending to browser after nested loop
Date Mon, 03 Jun 2002 21:31:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9590>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9590

cookies stop sending to browser after nested loop

           Summary: cookies stop sending to browser after nested loop
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: gman1@enter.net


3 simple cookies/1 nested loop 
 
<res:addCookie name="TEST40" value="40"/> 
    <c:forEach var="dupe1" items="${param}" varStatus="status1"> 
      <c:forEach var="dupe2" items="${param}" varStatus="status2"> 
        <c:if test="${(dupe1.value==dupe2.value)&&(status1.count!=status2.count)}">

          <page:setAttribute name="errors"><br>ERROR!: Duplicate Number!<hr></page:setAttribute>

        </c:if> 
      </c:forEach> 
<res:addCookie name="TEST45" value="45"/> 
    </c:forEach> 
<res:addCookie name="TEST50" value="50"/> 
 
(1)in this examples cookie 'TEST40' gets sent to browser 
(2)next the nested for loops works coorectly 
(3)next cookie 'TEST45' gets sent to browser 
**** problem: cookie TEST50 does not get sent to browser **** 
(5)all code before and after this snipet works fine 
synopsis: after doing nested loops tomcat stops sending cookies 
 
ps.(I have ruled out the custom taglibs RESPONSE, and PAGE) 
Thanks in advance, 
gman1@enter.net

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message