|
From: =?iso-8859-1?Q?<jp....@ti...> - 2003-07-25 14:00:41
|
I confirm it's a JBoss/Jetty issue. Probably it's reported on JBoss lists=
.=0D=0AStill the countries demo is affected. =0D=0A=0D=0AJean-Pierre=0D=0A=
=0D=0A---------- Initial Header -----------=0D=0A=0D=0AFrom : j=FCrg=
en h=F6ller [werk3AT] <jue...@we...>=0D=0ATo : <a=
le...@jt...>,<jp....@ti...>=0D=0ACc : "springframework-=
developer" <spr...@li...>=0D=0ADate =
: Fri, 25 Jul 2003 15:15:53 +0200=0D=0ASubject : RE: [Springframework-=
developer] Summary of pending points=0D=0A=0D=0AI've just tested the issu=
e with Tomcat 4.0, Tomcat 4.1, Resin 2.1, and Orion 2.0.2: All of these e=
xtract the URL path correctly both with and without a URL-encoded session=
id. So I wonder what web container you're using - does JBoss/Jetty have =
an issue here?=0D=0A=0D=0AThe root cause is that the container incorrectl=
y resolves request.getRequestURI so that it includes the ";" part in your=
case. Simply checking for ";" and cutting the URI before it in WebUtils =
should help, instead of explicitly checking for ";jsessionid".=0D=0A=0D=0A=
Juergen=0D=0A=0D=0A=0D=0A-----Original Message-----=0D=0AFrom: Alef Arend=
sen (JTeam) [mailto:al...@jt...]=0D=0ASent: Friday, July 25, 2003 2:56 =
PM=0D=0ATo: jp....@ti...=0D=0ACc: 'springframework-developer'=0D=0A=
Subject: RE: [Springframework-developer] Summary of pending points=0D=0A=0D=
=0A=0D=0AArghh, stupid,=0D=0A=0D=0AAnyway, the modified WebUtils is now i=
ncluded...=0D=0A=0D=0AAlef=0D=0A=0D=0A-----Oorspronkelijk bericht-----=0D=
=0AVan: jp....@ti... [mailto:jp....@ti...] =0D=0AVerzonde=
n: Friday, July 25, 2003 2:49 PM=0D=0AAan: alef=0D=0ACC: springframework-=
developer=0D=0AOnderwerp: RE: [Springframework-developer] Summary of pend=
ing points=0D=0A=0D=0A=0D=0AHi Alef,=0D=0A=0D=0AIt seems you joined twice=
the testSuite and not the Webutils itself.=0D=0A=0D=0AI didn't, for now,=
take the time for searching a solution for the=0D=0A";jsessionid" issue,=
but I am still tired with it. So, it's very good to=0D=0Ahear anyone wor=
ks at this.=0D=0A=0D=0ARegards,=0D=0AJean-Pierre =0D=0A=0D=0A---------- I=
nitial Header -----------=0D=0A=0D=0AFrom : springframework-develope=
r-...@li...=0D=0ATo : "'springframework-develo=
per'"=0D=0A<spr...@li...>=0D=0ACc =
: =0D=0ADate : Fri, 25 Jul 2003 13:28:59 +0200=0D=0ASubject : R=
E: [Springframework-developer] Summary of pending points=0D=0A=0D=0AThere=
's an (for my situation major) issue with the WebUtils :(=0D=0A=0D=0AI've=
got an UrlMapping saying **/*.view --> SomeController=0D=0A=0D=0Ahttp://=
localhost/site/external/login-login.view=0D=0Aworks, while=0D=0Ahttp://lo=
calhost/site/external/login-login.view;jsessionid=3D2c4s7a1vds3gb=0D=0A.j=
boss1=0D=0Adoes not. But actually it should!=0D=0A=0D=0AI've prepared a f=
ix for the issue, which involves adding a=0D=0Aconditionality to the getP=
athWithinServletMapping() and the=0D=0AgetPathWithinApplication() methods=
(in WebUtils). I've been able to test=0D=0Athe getPathWithinApplication(=
)-method (using the WebUtilsTestSuite) and=0D=0Abasically it works. Howev=
er, the getPathWithinServletMapping() method I=0D=0Acan't really test, be=
cause in the MockServlet*** classes, there's no=0D=0AMockServletMapping y=
et (and I haven't got the time to add this before=0D=0Athe 0.9.1 release)=
.=0D=0A=0D=0AThe fix works however for my application (for both URL-rewri=
ting=0D=0Arequests and non-URL-rewriting requests). All other tests still=
succeed.=0D=0A=0D=0ABut, since I'm not able to test everything enough an=
d don't know the=0D=0Arest of the web stuff enough to know what the impac=
t is, I am kind of=0D=0Areluctant to add it, with the 0.9.1 release comin=
g next week...=0D=0A=0D=0AIs there somebody that can find the time to fig=
ure out everything still=0D=0Aworks (or just says, yeah, it's ok ;-)?? Th=
e modified WebUtils and the=0D=0AWebUtilsTestSuite are attached to the em=
ail...=0D=0A=0D=0ACheers,=0D=0A=0D=0AAlef=0D=0A=0D=0A=0D=0A********** L'A=
DSL A 20 EUR/MOIS**********=0D=0ATiscali propose l'ADSL le moins cher du =
march=E9 : 20 EUR/mois et le modem=0D=0AADSL offert ! =0D=0APour profiter=
de cette offre exceptionnelle, cliquez ici :=0D=0Ahttp://register.tiscal=
i.fr/adsl/ Offre soumise =E0 conditions.=0D=0A=0D=0A=0A=0A********** L'AD=
SL A 20 EUR/MOIS**********=0ATiscali propose l'ADSL le moins cher du marc=
h=E9 : 20 EUR/mois et le modem ADSL offert ! =0APour profiter de cette of=
fre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/=0AOffr=
e soumise =E0 conditions.=0A
|