Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 54059 invoked from network); 1 Oct 2004 12:53:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Oct 2004 12:53:48 -0000 Received: (qmail 53167 invoked by uid 500); 1 Oct 2004 12:53:07 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 53014 invoked by uid 500); 1 Oct 2004 12:53:06 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 52999 invoked by uid 99); 1 Oct 2004 12:53:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [212.135.6.10] (HELO smarthost0.mail.uk.easynet.net) (212.135.6.10) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Oct 2004 05:53:04 -0700 Received: from [217.205.128.166] (helo=Michael) by smarthost0.mail.uk.easynet.net with smtp (Exim 4.10) id 1CDMuA-000EGh-00 for tomcat-user@jakarta.apache.org; Fri, 01 Oct 2004 13:52:58 +0100 From: "Michael Cornell" To: "Tomcat Users List" Subject: RE: urls not conforming to the standards problem Date: Fri, 1 Oct 2004 13:52:59 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <9C5166762F311146951505C6790A9CF80229C2B6@US-VS1.corp.mpi.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Precisely, However I need to get at these parameters inside a Filter in tomcat to determine the action taken.. Whatever tomcat uses to parse this url (JK2 ??) simply wipes this ;jsessionid=2345345 and I can't see it So to reiterate, Client ------------------- JK??---------------------------------------tomcat Incoming nastyurl -> changed to nice params here -->do stuff Outgoing nastyurl <- changed back to nasty params here <- Any ideas? -----Original Message----- From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] Sent: 01 October 2004 13:22 To: Tomcat Users List Subject: RE: urls not conforming to the standards problem Hi, I think what he's saying is that he has request parameters AFTER path parameters, and that Tomcat stops evaluating the URL after encountering the special ; delimiter ;) Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Ben Souther [mailto:bsouther@fwdco.com] >Sent: Friday, October 01, 2004 7:55 AM >To: Tomcat Users List >Subject: Re: urls not conforming to the standards problem > >Those are path parameters. > >Here's an excerpt from the Servlet Specs (SRV 4.1) regarding path >parameters: > > >Path parameters that are part of a GET request (as defined by HTTP 1.1) >are not exposed by these APIs. They must be parsed from the String >values returned by the getRequestURI method or the getPathInfo method. > > > > > > >On Fri, 2004-10-01 at 05:26, Michael Cornell wrote: >> I am having a problem with the way Tomcat handles urls that do not >conform >> to the standards regarding get parameters.. >> As we all know this looks like >> http://www.myhost.com/someapp/jsp/index.jsp?name=fred&age=10 >> >> My problem is that an incoming request url comes in as: >> >http://www.myhost.com/someapp/jsp/;jsessionid=VVNCLCVNTYOUUCRGAWCCFFAKE YCYK >I >> V0?_requestid=549 >> The api however simply removes a part of this and the HttpServletRequest >> Object only has _requestid=549 as its get parameter. >> >> So the solution I need is one that will transparently convert >;jsessionid >> into some variable (eg xyz) as the request comes in and then convert this >> BACK into ;jessionid on the way out (so the user cannot see any >difference, >> but I can see the jsessionid variable) >> >> I know there are some solutions using Apache's mod_rewrite, but I would >like >> to use Tomcat and jk2 (I think this is right). >> >> Does anyone have any suggestions as to how I might approach this problem? >> >> /m >> >> --- >> Outgoing mail is certified Virus Free. >> Checked by AVG anti-virus system (http://www.grisoft.com). >> Version: 6.0.770 / Virus Database: 517 - Release Date: 27/09/2004 >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.770 / Virus Database: 517 - Release Date: 27/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.770 / Virus Database: 517 - Release Date: 27/09/2004 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org