I wanted to add Database down alert for all jsp pages and i can do it in single page. As there are almost 1000 pages in my project, anyone can tell me where should i call database down alert function so that it can be accessible at every page reload and throw the user at error page.
Thanks in advance.
I have used the same for single jsp file(action script of it) and its working fine. But the problem is i have almost 1000 jsp files(including action scripts) and add these exception handling in all action script is not a good idea.
So i need to know how do i make changes to any single action script or controller so that it can be called at any page reload?