Hi, I would like to find the war file name (for example, ROOT##2019-08-12-10-44.war) inside ServletContextListener.contextInitialized() and ServletContextListener.contextDestroyed(). So I can send email to admins warn them which app is up and down. Is there a way to do it? Any information would be appreciated. Thanks in advance.
- How to find war file name programmatically? W
- Re: How to find war file name programmatically? Mark Thomas