Unexpected Servlet caching
<p>I have a Tomcat7 web App consisting of an HTML file with form, as well as a Servlet and a Java bean. The HTML form calls the Servlet, which takes the request parameters, does some preparations, creates an instance of the bean and calls it's String doSearch(String arg1, int arg2) method. Each time the Servlet is called, it sets the bean to null and creates a new Instance.</p>

<p>The problem is that in each session the former results (created by the bean) stay visible (which should not appear). I don't use any static variables or classes.</p>

<p>When I run the code as Java Program it works as expected. The only way to get rid of the old results for now is restarting Tomcat</p>

<p>Any help is greatly appreciated.</p>

<p>Thanks.</p>

<p>The war File can be downloaded from <a href="https://drive.google.com/open?id=0B5P_61PgIb6gc0VfRC1sbzdhUjQ" rel="nofollow noreferrer">https://drive.google.com/open?id=0B5P_61PgIb6gc0VfRC1sbzdhUjQ</a></p>