title: Notify user about session timeout in Java EE
body: <p>My requirement is to notify the user with a popup saying that the user session is about to time out in x seconds in case user does not perform any activity on the web page.</p>
  
  <p>Addition to this requirement is to decrement the value x seconds dynamically in the popup.</p>
  
  <p>The environment I use is Java EE.</p>