You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nathan Coast <na...@cableinet.co.uk> on 2001/05/10 20:04:38 UTC

context name

Hi,

Is there any way to get the web-app context (as it appears in the url) during 
servlet.init(ServletConfig config){} ?

e.g.
myserver/mycontext/index.html 
		context = "mycontext"
myserver/index.html 
			context = ""	

Thanks
Nathan