Here is my problem statement- I have an application in webapps of tomcat. I want to run the application in the browser only after checking the licence of the software. Is it possible to stop the application from running, whereas allowing other wars to run in the browser.
Thanks,
Adi
Is this for your own application or for third party software?
If its your own application then you could write a filter to check that the license is valid and then to redirect to an error page if it has expired.
Alternatively you could just throw an Exception…