Can someone tell how to stop an web application when critical error is met while initializing, for e.g. important property is missing which will affect the whole application, I want to halt the web application, if system.exit is not a good option, can anyone point how to bring down the application.
Pls don't tell me to log the error, send email, display error msg in the welcome, etc. I want to know is there a way within servlet one can stop the web application from loading and shutdown the application.
Thanks. San