cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: [jira] Commented: (COCOON-2066) BlockCompletePathModule returns wrong path in scope of internal servlet call
Date Thu, 07 Jun 2007 08:32:19 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Grzegorz Kossakowski wrote:
> Giacomo Pati pisze:
> 
>>> If you think about getServletPath() of HttpServletRequest hold in
>>> BlockCallHttpServletRequest it will return mount-path but not for the
>>> current servlet but for the servlet that called current servlet.
>>
>> Than there is something wrong with it IMHO.
> 
> Why do you think so? Object representing current request returns mount
> path were servlet processing current request in mounted at. What's wrong
> with it?

getContextPath returns the path where the webapp is mounted
getServletPath returns the path-

- --
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)

iD8DBQFGZ8KTLNdJvZjjVZARAiwdAKC0KuC1xnffvn7ZcphoP5+rlcPDngCgyYBj
mbSvNTERTvZyg66tYChTS1w=
=zlT5
-----END PGP SIGNATURE-----

Mime
View raw message