Servlet problem in Tomcat problem
Hi All,
The below mentioned problem require little bit patience and concentration......but I really need your help. Please proceed.....
I have installed Tomcat, JDK and JRE as follows:
C:\Program Files\Apache Software Foundation\Tomcat 5.5
C:\Java\jdk1.5.0_10
C:\Java\jre1.5.0_10
and set the various system variables (in Environment variables dialog box in winXP)as follows:
CLASSPATH :C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\servlet-api.jar;C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\jsp-api.jar
PATH : %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\MSSQL7\BINN;C:\Java\jdk1.5.0_10\bin ;C:\Program Files\Apache Software Foundation\Tomcat 5.5;C:\Program Files\Apache Software Foundation\Tomcat 5.5
CATALINA_HOME : C:\Program Files\Apache Software Foundation\Tomcat 5.5
JAVA_HOME : C:\Java\jdk1.5.0_10
And within Apache Tomcat Properties dialog box the settings are as follows:
JVM PATH : C:\Java\jre1.5.0_10\bin\client\jvm.dll
Java Classpath: C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\bootstrap.jar
Now, I want to compile a servlet but it is not getting compiled, currently we are saving the servlet in: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\servlets-examples\WEB-INF\classes
Jsp files are running fine but servlets are not.Actually this is the real problem.
Even the built in servlet examples of tomcat are not working(compiling) if i delete their class files.
Can anybody help me on this issue??
Thanks,
with regards
Umesh
|