title: Checking database availability with Spring MVC to force a redirect
body: <p>I'm implementing Spring MVC but would like to redirect if one of my database goes offline. Is there any easy way to check this? The application uses several databases (one for authentication etc.) so I need a graceful way of handling database issues.</p>
  
  <p>Thanks,</p>