Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HttpServlet error, not sure if I have the Java servlet API?

843842Nov 14 2009 — edited Nov 14 2009
Hi, I'm doing an assignment for University that requires us to make a servlet. I haven't been able to start it yet as I am having trouble compiling the java files. I started of in Linux but could not get Tomcat working so I've resorted to Windows XP. I now have Tomcat installed which is a step in the right direction but there are still problems... I have made a test file to see if it is all working (just a simple Hello World Java servlet). I then go to the Windows command prompt and try to compile it using javac helloWorld.java and 7 errors get spit out into the prompt window. I have Java EE installed but the errors look like it cant find the Java directory. Anyone mind helping me out? because I cant get on with my assignment.

Thank you

Errors in command prompt:
http://img171.imageshack.us/i/drbobforumhelp.png/
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2009
Added on Nov 14 2009
6 comments
214 views