|
javax.servlet does not exist
Hello,
I'm trying to set up a tomcat server to develop java applications. I install CentOS 6.3 and included java and tomcat packages during installation. When I tried to compile a simple servlet, I got javax.servlet does not exist. What should I do?
Where should I place the .class servlet? The book I'm reading about servlets is saying one thing, the I find yet other things online. I don't want to mess the settings up. I found and online poster suggesting to create a folder under /usr/share/tomcat6/webapp and move all the .class there and it will work without any further settings. Is this true?
Thank you very much,
Mike
|