I am running Tomcat 4.0.2

Here is the header of my jsp file

<%@ page import="com.web_tomorrow.jspcd.JspCdBrowse"    %>

<jsp:useBean id="jspCdBrowse" class="com.web_tomorrow.jspcd.JspCdBrowse" 
   type="JspCdBrowse" scope="session"/>
<jsp:setProperty name="jspCdBrowse" property="*"/>



I have my JspCdBrowse.class file in jspcd dircetoty (E:\Tomcat 
4.0\webapps\jspcd\WEB-INF\classes\com\web_tomorrow\jspcd)


Here is the error I get.

org.apache.jasper.JasperException: Unable to compile class for JSPerror: File 
E:\Tomcat 4.0\webapps\jspcd\WEB-INF\classes\com\web_tomorrow\jspcd\JspCdBrowse.class 
does not contain type com.web_tomorrow.jspcd.JspCdBrowse as expected, but type 
JspCdBrowse. Please remove the file, or make sure it appears in the correct 
subdirectory of the class path.

E:\Tomcat 4.0\work\localhost\jspcd\browse$jsp.java:3: Class 
com.web_tomorrow.jspcd.JspCdBrowse not found in import.
import com.web_tomorrow.jspcd.JspCdBrowse;
       ^
2 errors


Any Idea why I am geeting this error?

Cheers,

--Bahman




Reply via email to