Do you have the source for this bean? From the error, it looks like this
bean is not in the esoft package. I'm also confused by your statement "when
i call this jsp file from .../ROOT, then bean gets called
from .../ROOT/WEB-INF/classes". Why would the placement of your JSP page
have anything to do with where the bean class resides? But if this
statement is true, it would confirm that the bean is not in the esoft
package.
-----Original Message-----
From: nitin mundada [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 1:20 AM
To: Tomcat
Subject: Error in JSP and bean
hi
I am getting following error. can any one pls. explain me what is it.
I am calling a jsp file which is in .../ROOT/esoft. this jsp file calls
a bean which is in .../ROOT/WEB-INF/classes/esoft. it gives follwoing
error. when i call this jsp file from .../ROOT, then bean gets called
from .../ROOT/WEB-INF/classes, and it works fine
thank u
Regards Nitin
Error: 500
Location: /esoft/alter.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
JSPerror: File
/home/sites/site215/web/tomcat/webapps/ROOT/WEB-INF/classes/esoft/esoftjdbc.
class
does not contain type esoft.esoftjdbc as expected, but type esoftjdbc.
Please remove the file, or make sure it appears in the correct
subdirectory of the class path.
/home/sites/site215/web/tomcat/work/localhost_8080/_0002fesoft_0002falter_00
02ejspalter_jsp_1.java:60:
Class esoft.esoftjdbc not found.
esoftjdbc esoft = null;
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie