I use Jdk1.2.2, and copy the servlet.jar to jdk1.2.2\lib, and then set the classpath, c:\>set classpath=.;c:\jdk1.2.2\lib, then, i couldn't compile the servlets, Plz tell me howto, and thank for your help
vik nuckchady
Greenhorn
Joined: Apr 25, 2001
Posts: 25
posted
0
why do you have a , after the set classpath statement ?
Ronyn Woods
Greenhorn
Joined: May 16, 2001
Posts: 27
posted
0
It's typing error. I just enter: c:\>set classpath=.;c:\jdk1.2.2\lib
Bhanu manne
Greenhorn
Joined: Apr 02, 2001
Posts: 8
posted
0
Hey If i am not wrong you should set the class path pointing to the jar file not just to the directory. so set classpath as classpath=c:\jdk1.2.2\lib\servlet.jar you set it up to the directory in case of a package. Hope it works bhanu
Ronyn Woods
Greenhorn
Joined: May 16, 2001
Posts: 27
posted
0
Oh! yes It should point to the servlet.jar file clearly.