So far in
java, I have only written applications. Now I want to try writing
servlets. I have looked at some source code examples in books. I understand what they are describing in the coding examples they show.
I have tried compiling one of the programs and I am getting a lot of errors. I assume that I need additional jar/class files to make them compile.
Also, I see in the books that I need a "servlet" engine once I am able to compile the programs. The books give
Tomcat as an example of a servlet engine.
What do I need to do in order to be able to:
1. Compile a java servlet file?
2. Run a java servlet file? (Can you recommend a servlet engine)
Sorry for greeness of the question.