tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aggarwal, Ajay" <>
Subject server.xml hostname from ServletContext
Date Mon, 01 Oct 2012 15:38:07 GMT
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.





  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message