Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 44810 invoked from network); 4 Sep 2002 13:00:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Sep 2002 13:00:36 -0000 Received: (qmail 10548 invoked by uid 97); 4 Sep 2002 13:01:01 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 10509 invoked by uid 97); 4 Sep 2002 13:01:00 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 10493 invoked by uid 50); 4 Sep 2002 13:00:59 -0000 Date: 4 Sep 2002 13:00:59 -0000 Message-ID: <20020904130059.10492.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 12299] New: - Setting cookie doesn't work in all cases. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=12299 Setting cookie doesn't work in all cases. Summary: Setting cookie doesn't work in all cases. Product: Tomcat 4 Version: 4.0.3 Final Platform: Sun OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: woolfel@yahoo.com I looked at the servlet 2.3 spec and I think this behavior might be a bug. I have two pages. the first page includes a second page. the second page sets some cookies. If I use include directive <%@ include file="setcookie.jsp" %>, it works fine. If I switch it to use JSTL , it doesn't set the cookie. My guess is either the response is getting flushed and cookies erased, or the response set method isn't working correctly. I looked at the JSTL code and it uses RequestDispatcher.include() to import local files. The wil only use HttpUrlConnection if the absolute path is used, ie . I hope some one can verify this is a bug. -- To unsubscribe, e-mail: For additional commands, e-mail: