title: How can I implement the logout button in web page?
body: <p>I am trying create a simple "login" / "logout" page.</p>
  
  <p>The server side is running Tomcat.</p>
  
  <p>By following <a href="http://www.cafesoft.com/products/cams/tomcat-security.html" rel="nofollow">This Link</a>, I successfully utilise the internal authentication mechanism of Tomcat to let user login. </p>
  
  <p>But how can I implement the "logout" button? What should I do if the user click the "logout" button? How can I tell Tomcat that user wants to logout?</p>