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]
# 1
I did set the TOMCAT_HOME and JAVA_HOME too.
kameswari at 2007-6-29 1:08:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

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

spallnet at 2007-6-29 1:08:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...