You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jacob Thomas <jt...@vitria.com> on 2001/07/06 05:27:49 UTC

Getting contextPath from a HttpServlet object

Is there an API to get the contextPath for a servlet? 
--
Thanks
Jacob

Re: Getting contextPath from a HttpServlet object

Posted by Dmitri Colebatch <di...@nuix.com.au>.
request.getContextPath();

cheesr
dim

On Fri,  6 Jul 2001 13:27, you wrote:
> Is there an API to get the contextPath for a servlet?
> --
> Thanks
> Jacob