why cann't find the class?????

I use Tomcat 4.0.6,, i put my Test.java to ROOT/mysite/WEB-INF/classes but when i run the test.jsp....the screen display as below: org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.

I use Tomcat 4.0.6,, i put my Test.java to ROOT/mysite/WEB-INF/classes but when i run the test.jsp....the screen display as below: org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.

That's because you are using JDK1.4. Apparently the warning is harmless and doesn't make a difference to the outcome.

This error would be because you need to provide a CLASSPATH to the directory that holds org\apache\jsp\testcounter It looks like you made your own testcounter and tried adding it to apache's jsp package - I'd recommend creating your own packages. Good luck! [ March 09, 2003: Message edited by: Marc Peabody ]