So far we’ve been writing all of our code in a basic text editor, and compiling our servlet classes via the command prompt. It’s important to understand the basics of how a web app works: stuff like running the server (in Jetty, that’s the start.jar
file), setting up web.xml
, and writing and compiling servlet classes and copying them into the WEB-INF/classes
directory.
This is a companion discussion topic for the original entry at https://happycoding.io/tutorials/java-server/eclipse-ee