I use TC4.0.1 to develop my application
I want to use a javabean,but I receive this error from TC4.0.1 as follow:
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 7 in the jsp file: /mail.jsp
Generated servlet error:
E:\JSP\server\catalina-4.0.1\work\localhost\mail\mail$jsp.java:65: Class
org.apache.jsp.MailReader not found.
MailReader mr = null;
^
An error occurred at line: 7 in the jsp file: /mail.jsp
Generated servlet error:
E:\JSP\server\catalina-4.0.1\work\localhost\mail\mail$jsp.java:68: Class
org.apache.jsp.MailReader not found.
mr= (MailReader)
^
An error occurred at line: 7 in the jsp file: /mail.jsp
Generated servlet error:
E:\JSP\server\catalina-4.0.1\work\localhost\mail\mail$jsp.java:73: Class
org.apache.jsp.MailReader not found.
mr = (MailReader)
java.beans.Beans.instantiate(this.getClass().getClassLoader(),
"MailReader");
^
3 errors
I use this code to include javabean:
<jsp:useBean id="mr" scope="session" class="MailReader" />
This webapplication can run on tomcat3.3 but can't run on tomcat4.0.1 , I
want to change server to tomcat4.0.1 ,
so I hope someone can help me!!!
Can somebody tell me where to place my javabean , thanks!!
Maddux