• Post Reply Bookmark Topic Watch Topic
  • New Topic

errors while compiling servlets  RSS feed

 
uma baratam
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

I am getting errors while compiling servlets.
I wrote a program hello.java and compiled it.
it is showing me 6 errors that it can not resolve symbols like HttpServlet...

I downloaded tomcat and setted the java_home variable and also classpath to servlet.jar file.

My doubt is i am having jdk 1.4 in my system.
Is it required for me to download jsdk software.

Can anyone please explain me the process.

Thanks.
Uma.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See:
http://faq.javaranch.com/view?CompilingServlets



Moving to Java In General where javac and classpath issues are discussed.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!