javaservletsweb-container

How do you show up the maintenance message while you want to re-deploy a war file?


Hey guys I am trying to display a maintenance message on my web page while I wanna deploy an updated war, so the original war must go offline first and at the same time, client will get 404 not found error page...My question is, what is the most common way for website maintenance? Thanks!

PS: I am not specifying which server is being used, so it could be tomcat, jboss, websphere and etc.


Solution

  • Ideally, you'll want some kind of hot-deployment support so that your users won't ever notice a service interruption. Common methods of achieving this are: