tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Cornell" <>
Subject urls not conforming to the standards problem
Date Fri, 01 Oct 2004 09:26:11 GMT
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

My problem is that an incoming request url comes in as:;jsessionid=VVNCLCVNTYOUUCRGAWCCFFAKEYCYKI
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?


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.770 / Virus Database: 517 - Release Date: 27/09/2004

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message