Howdy,
I'm probably missing something basic here ;)  But how can a Servlet know
its own URL at startup, before any requests are sent to it?

More specifically, if I have a webapp MyApp, and a servlet MyServlet,
accessible as
http://myhost.mydomain:myport/MyApp/MyServlet

I would like MyServlet's init() method to figure out that its context is
at
http://myhost.mydomain:myport/MyApp

Any ideas, suggestions etc. much appreciated ;)

Yoav Shapira
Millennium ChemInformatics



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to