You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "hv @ Fashion Content" <in...@fashioncontent.com> on 2005/11/23 02:40:58 UTC

How to get getContextPath() to return ""

How to you get getContextPath() to return blank for a webapp ? 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How to get getContextPath() to return ""

Posted by Hassan Schroeder <ha...@webtuitive.com>.
hv @ Fashion Content wrote:
> How to you get getContextPath() to return blank for a webapp ? 

Make that webapp the default Context for the applicable Host.

-- 
Hassan Schroeder ----------------------------- hassan@webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                          dream.  code.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org