title: Threads generated in Tomcat
body: <p>I have a basic question on Tomcat thread creation.  Does every browser instance run on a single thread or does it spawn multiple threads to process a single browser instance request?</p>
  
  <p>I am taking a reference of the current thread in the code and calling the activecount method and it is showing 20 which indicates 20 active threads. So I have doubt from where this value is configured. Is there any parameter to set the active threads per </p>
  
  <pre><code>while (iter.hasNext()) {
    GrammarSection agrammarSection= null;
    try {
      agrammarSection = (GrammarSection) iter.next();
    } catch (Exception e) {
      System.out.println("DDD if it come in exception "+Thread.currentThread());
      System.out.println("DDD if it come in exception "+Thread.activeCount()); //IT PRINTS 20
  </code></pre>