title: Not able to import jar files in JSP code
body: <p>I have jar files which I constructed using command
  <strong>jar -cf Generic.jar /java/mypackage/*.class</strong>
  There are three classes in the Generic.jar
  mypackage is the name of package I named so as to include my class files and create a jar file.
  latter I copied the Generic.jar in the <strong>WEB-INF/lib</strong> of Glassfish</p>
  
  <p>In JSP I imported these jar files using    </p>
  
  <pre><code> &lt;%@ page import="java.mypackage.GenericTree;" %&gt;
   &lt;%@ page import="java.mypackage.GenericTree1111;" %&gt;
   &lt;%@ page import="java.mypackage.GenericTree2222;" %&gt;
  </code></pre>
  
  <p>But I am getting the following error. Can anyone suggest whats going wrong?</p>
  
  <pre><code>  HTTP Status 500 -
  
    type Exception report
  
    message
  
    descriptionThe server encountered an internal error () that prevented it from fulfilling this         request.
  
    exception
  
    java.lang.NoClassDefFoundError: java/mypackage/GenericTree
  
   note The full stack traces of the exception and its root causes are available in the GlassFish     Server Open Source Edition 3.0.1 logs.
    GlassFish Server Open Source Edition 3.0.1
  </code></pre>