Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 33690 invoked by uid 500); 2 Jun 2001 09:31:32 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 33682 invoked from network); 2 Jun 2001 09:31:32 -0000 Received: from web512.mail.yahoo.com (216.115.104.227) by h31.sny.collab.net with SMTP; 2 Jun 2001 09:31:32 -0000 Message-ID: <20010602093141.10354.qmail@web512.mail.yahoo.com> Received: from [24.181.68.232] by web512.mail.yahoo.com; Sat, 02 Jun 2001 02:31:41 PDT Date: Sat, 2 Jun 2001 02:31:41 -0700 (PDT) From: Charles Baker Subject: URL encoding and ';' rather than '?' To: tomcat-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I've been browsing the archives but still haven't seen what I'm looking for. Why does Tomcat use ';' rather than '?' when an URL gets encoded? Example: URL = "http://my.domain/some_form.htm"; response.sendRedirect(response.encodeRedirectURL(URL)); Yeilds an url like this: http://my.domain/some_form.htm;jsessionid=lidfano10 and a 404 not found error. I use JRun at work because my company is predjudiced against free software, and it uses the '?' to separate the url and the query string which I thought was standard. BTW, I'm using Tomcat 3.2.1 and Apache 1.3.14 on Mandrake 7.2. I saw some workarounds posted to the list, but I'm curious as to why Tomcat behaves this way. Does either 3.2.2, 3.3 or 4.0 do things differently? I know 4.0 is the cutting or perhaps bleeding edge, but is 3.3 mostly stable though it hasn't been through beta testing yet? ===== - rascharles@yahoo.com Hacking is a "Good Thing!" See http://www.tuxedo.org/~esr/faqs/hacker-howto.html __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/