Hi all Im a a newbie here and am currently haveing my first go at servlets. I am using netbeans5.5 and apache tomcat 6.0 and trying a simple helloThere servlet. Every time I try and compile it either with command line javac command or netbeans I get the above error. I have trawled teh help guides and web for help but it doesnt really help. Any ideas ?
Thanks
F

Because there is no javax.servlets
only
javax.servlet, reference here

sorry that was a typo in this message. But still no nearer to trying fix the problem
f

Did you set CLASSPATH to jsp-api.jar and servlet-api.jar?

yes I set environmental variables to point to tomcat jar files but should they point to the jsp-api.jar in tomcat jdk or netbeans - sorry very confused / Thanks for your patience !!

tomcat, nothing to do with netbeans

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.