Hi,
Are my path & classpath correct for compiling
servlets?
I downloaded the J2EE1.4 s/w bundle that includes
# Sun
Java System Application Server Platform Edition 8.1 2005Q1
# J2SE 1.4.2
#
J2EE 1.4 SDK Samples 2005Q1
# J2EE 1.4 API Documentation
I have also downloaded the
tomcat 5.5.7 and the compat versions, set the java-home variable and got the tomcat welcome page successfully.
My path is set to:
c:\sue\projects\exercise\servlets;c:\J2EE1.4\bin;
c:\J2EE1.4\jdk\bin;c:\J2EE1.4\jdk\jre\bin;
My classpath is set to:
c:\sue\projects\exercise\servlets;c:\J2EE1.4\lib;
c:\J2EE1.4\jdk\lib;c:\J2EE1.4\jdk\jre\lib;
The first path is my working directory. The compilation error is package javax.servlet does not exist; package javax.servlet.http does not exist; It also points at all other places where the servlet classes are used.
Where am i going wrong? Do I need to download something else?