title: unexpected jasper exception
body: <p>I am using Tomcat6.0, Eclipse SDE 7.0 Express  for Web Developers, and jdk1.6</p>
  
  <p>In my jsp page i have a code that looks like the followeing</p>
  
  <pre><code>&lt;%
  List&lt;String&gt; options = new ArrayList&lt;String&gt;();
  DynamicCombo comboBox = new DynamicCombo();
  options = comboBox.generateComboBox();
  Collections.sort(options);
  int tempVar = 0;
  while (tempVar &lt; options.size()) {
  out.print("&lt;option value=\"");
  out.print(options.get(tempVar));
  out.print("\"&gt;");
  out.print(options.get(tempVar));
  out.print("&lt;/option&gt;");
  tempVar++;
  }
  %&gt;
  </code></pre>
  
  <p>DynamicCombo is a class inside the package com.ems.billGen.util and i am importing this package in the jsp appropriately as :-</p>
  
  <pre><code>&lt;%@page import="com.ems.billGen.util.*" %&gt;
  </code></pre>
  
  <p>This class DynamicCombo has a method named generateComboBox(), that simply creates a list of strings and returns this string. </p>
  
  <p>When I hover over the class DynamicCombo in the above jsp, i realize that it is well recognized because i get the proper documentation for the class. Please see the screen shot below :-
  <img src="https://i.stack.imgur.com/3NG43.jpg" alt="on hovering over the class name in the jsp file"></p>
  
  <p>Now when i deploy the above page and view it in firefox, i get the following jasper exception :-</p>
  
  <p>An error occurred at line: 36 in the jsp file: /implementation.jsp</p>
  
  <pre><code>DynamicCombo cannot be resolved to a type
  33:     &lt;td&gt;&lt;select name="product_list"&gt;
  34:         &lt;%
  35:             List&lt;String&gt; options = new ArrayList&lt;String&gt;();
  36:             DynamicCombo co = new DynamicCombo();
  37:             options = co.generateComboBox();
  38:             Collections.sort(options);
  39:             int tempVar = 0;
  </code></pre>
  
  <p>I am not able to understand the reason, and how to solve this issue. Any inputs are appreciated.</p>
  
  <p>The respective class file is also being generated for DynamicCombo in the web-inf folder of the war file as:-
  <img src="https://i.stack.imgur.com/d8R7z.jpg" alt="class file is actually present in the generated war file"></p>