You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by chiu ming luk <ch...@yahoo.com> on 2001/10/02 03:17:05 UTC

get Servlet Context Name

hi,
any way I can get a servlet context ( web application
)'s name with in a servlet?  on Servlet API 2.2 (not
Servlet 2.3)

-OR- there is no way to do that?

P.S. I am using tomcat... may I access internal tomcat
object to achieve that?

thanks

__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

Re: get Servlet Context Name

Posted by Adrian Almenar <aa...@conectium.com>.
Read the Servlet Api !!!!

Quoting chiu ming luk <ch...@yahoo.com>:

> hi,
> any way I can get a servlet context ( web application
> )'s name with in a servlet?  on Servlet API 2.2 (not
> Servlet 2.3)
> 
> -OR- there is no way to do that?
> 
> P.S. I am using tomcat... may I access internal tomcat
> object to achieve that?
> 
> thanks
> 
> __________________________________________________
> Do You Yahoo!?
> Listen to your Yahoo! Mail messages from any phone.
> http://phone.yahoo.com
>