This servlet demonstrates how shared variables can cause errors in web applications.

Open this page in two different browsers, then hit reload in both browsers within three seconds. The access count will be the same for both browsers.

This servlet has been accessed 173 times since the servlet engine was restarted.