JSP and Servlet maintenance on Tomcat -
I'm developing JSP / servlet webpage on the Tomcat, I have some things (sublet Class, Web XML, JSP etc.) How can I refresh, while it is working?
I can use a boolean variable in my servlet to find out that this will be a maintenance period, requests will be ignored. (All my servlets extend my base service class, so I only have to do one thing "if" check in my base class and a gestਟਰ / siter in boolean) but this file is not enough to refresh .
Do I have to shut down my app, change things and re-deploy? When I refresh the app, I want to show the "Maintenance period, please wait ..." page for my users
How should I do this?
Only on a "maintenance" page is it possible that if you are in front of Tomcat from another web server The commonly used approach that is linked to Tomcat, while keeping WebPooling on Tomcat, just display HTTP Maintenance page rather than forwarding to Tomcat's request.
Comments
Post a Comment