Does anyone have experience with a maintenance page using spring MVC? What I am doing now is one shell script that copies index.html and css to the root folder of the web application, and when they are done with copying the maintanence site, is displayed.
At the same time, I am making changes. I delete the classes and load the new ones, and then delete the html and css files, and everything returns to normal. This works on the tomcat server, but when I tried this on the jboss server, I get a 404 page that tries to point to index.jsp, which naturally does not exist.
Is there any way to handle this more elegantly? I am sure that maybe someone will share their experience with this? thank
source
share