java - How to restrict access to web pages in the explained matter? -


i have web application developed in pure jsp , servlet. application can deployed local servers , run. have requirement notification deployed application in server. application send ip address of machine application deployed.

we wrote servletcontextlistener , added code it, execute once in apps life time.

now above thing, internet connection must, ok. issue application should not give access web pages/ servlets if notification not sent us.

i know kind of thing can done in desktop applications, how in web applications?


Comments