If the server is down, you obviously can't show anything. What most of my clients do when there's a planned outage is to route the requests to another server (usually a static Apache server) that shows a "We'll be back soon" page.
It has nothing at all to do with Java or
servlets. Just server administration.