server.xml hostname from ServletContext

2012-10-01 Thread Aggarwal, Ajay
Is the configured hostname available in ServletContext? I see it in debugger, but I don't see any method to access it from ServletContext class. I am using virtual hosts and need this value inside my ServletContextListener ::contextInitialized() call back. Thanks. -Ajay

Re: server.xml hostname from ServletContext

2012-10-01 Thread Mark Eggers
On 10/1/2012 8:38 AM, Aggarwal, Ajay wrote: Is the configured hostname available in ServletContext? I see it in debugger, but I don't see any method to access it from ServletContext class. I am using virtual hosts and need this value inside my ServletContextListener ::contextInitialized() call

Re: server.xml hostname from ServletContext

2012-10-01 Thread Konstantin Kolinko
2012/10/1 Mark Eggers its_toas...@yahoo.com: On 10/1/2012 8:38 AM, Aggarwal, Ajay wrote: Is the configured hostname available in ServletContext? I see it in debugger, but I don't see any method to access it from ServletContext class. I am using virtual hosts and need this value inside my

Re: server.xml hostname from ServletContext

2012-10-01 Thread Mark Eggers
On 10/1/2012 4:11 PM, Konstantin Kolinko wrote: 2012/10/1 Mark Eggers its_toas...@yahoo.com: On 10/1/2012 8:38 AM, Aggarwal, Ajay wrote: Is the configured hostname available in ServletContext? I see it in debugger, but I don't see any method to access it from ServletContext class. I am using