-----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-----

Reply via email to