Hi,
I'm running
Tomcat 3.2.3 on Windows 2000. I've been working with
servlets and
JSP and so far everything has been working fine.
I've just started using JavaBeans in my JSP pages, but whenever I run them I get an internal servlet error with the message: Can't find class xxxbean.
Here is my classpath and directory information:
CLASSPATH:
.;
%JAVA_HOME%\lib\tools.jar;
%TOMCAT_HOME%\lib\jasper.jar;
%TOMCAT_HOME%\lib\servlet.jar;
%TOMCAT_HOME%\webapps\ROOT\WEB-INF\classes;
%TOMCAT_HOME%/webapps/jspwork;
JSP files directory:
C:\java\jakarta-tomcat-3.2.3\webapps\jsp
Bean object:
C:\java\jakarta-tomcat-3.2.3\webapps\ROOT\WEB-INF\classes\beans\StringBean.class
In my JSP file I am using the line:
<jsp:useBean id="stringBean" class="beans.StringBean" />
But it claims not to be able to load the class StringBean.
Any help appreciated.
Richard