Happy Coding

Servlets

So far, we’ve learned how to run a Jetty server and how to set up a static web app. This tutorial walks through servlets and dynamic web apps.


This is a companion discussion topic for the original entry at https://happycoding.io/tutorials/java-server/servlets

Under the Multiple Servlets section, should the 2nd text box read:

javac -cp C:/Users/kevin/Desktop/jetty/lib/servlet-api-3.1.jar DateServlet.java
instead of
javac -cp C:/Users/kevin/Desktop/jetty/lib/servlet-api-3.1.jar HelloWorldServlet.java?

1 Like

Ah good catch, yes it should! This should be fixed now. Thank you!