Class not Found exception?
Hi,
I started TOMCAT and tried to call the JSP in the browser.I am able to execute simple JSPs but , when I am trying to call a servlet from the JSP i get the exception Class not found.
I did include everything in Path and Classpath variables.
Any ideas how I can solve this problem?
TIA
[325 byte] By [
kameswari] at [2007-9-26 1:26:03]

You have to place your classes at the correct directory.
for example:
Your *.jsp:
-c:\jdk1.3\jakarta-tomcat\webapps\examples\test\login.jsp
or
-c:\jdk1.3\jakarta-tomcat\webapps\examples\login.jsp
Your *.class:
-c:\jdk1.3\jakarta-tomcat\webapps\examples\Web-inf\classes\test\format.class
or
-c:\jdk1.3\jakarta-tomcat\webapps\examples\Web-inf\classes\format.class