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 woul
On 12/08/2019 23:18, W wrote:
> 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.
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Mark,
On 8/13/19 04:43, Mark Thomas wrote:
> On 12/08/2019 23:18, W wrote:
>> Hi, I would like to find the war file name (for example,
>> ROOT##2019-08-12-10-44.war) inside
>> ServletContextListener.contextInitialized() and
>> ServletContextListener
ServletContext.getRealPath("/") works for me.Thanks.
On Tuesday, August 13, 2019, 01:43:35 AM PDT, Mark Thomas
wrote:
On 12/08/2019 23:18, W wrote:
> Hi,
> I would like to find the war file name (for example,
> ROOT##2019-08-12-10-44.war) inside
> ServletContextListener.contextInitia