Exactly, That was the problem Thanks,
--Bahman ----- Original Message ----- From: James Williamson <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Sent: Sunday, March 17, 2002 3:28 AM Subject: Re: Problem Compiling A JSP file > My guess, and not Tomcat related at all is you've forgotten to put the > package statement in the JspCdBrowse.java file. i.e. > > package com.web_tomorrow.jspcd; > > Regards, > > James Williamson > www.nameonthe.net > > > ----- Original Message ----- > From: Bahman Kalali <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, March 17, 2002 12:03 AM > Subject: Problem Compiling A JSP file > > > 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 > > > > > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>