This project uses a servlet to format the current date, and JSP to show the formatted date. It also hides the JSP so users can’t navigate to it directly.

You can compile this into a directory and a .war file by executing this command:

mvn package

Learn more at HappyCoding.io/tutorials/java-server/jsp.