Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!

felix thomas
Ranch Hand
Posts: 89

hi,
i have installed the jsdk2.0 in my machine and i have jdk1.3
installed in my machine .still it gives me javax.servlet
package not found while compiling . i have also included the above directories in the classpath so coul sanyone help
me out

Roopa Bagur
Ranch Hand
Posts: 267
Have you set your classpath to point to the jsdk.jar file?
Originally posted by felix thomas:

hi,
i have installed the jsdk2.0 in my machine and i have jdk1.3
installed in my machine .still it gives me javax.servlet
package not found while compiling . i have also included the above directories in the classpath so coul sanyone help
me out

Rehan Malik
Ranch Hand
Posts: 76
Originally posted by felix thomas:

hi,
i have installed the jsdk2.0 in my machine and i have jdk1.3
installed in my machine .still it gives me javax.servlet
package not found while compiling . i have also included the above directories in the classpath so coul sanyone help
me out

Try installing the servlet.jar file in the c:\pathToJDKFolder\lib\jre\ext folder. Then add this to your classpath. Restart your machine and it SHOULD pick it up.
Good luck