This project is a basic web application (WAR) in Java.
- A static HTML file,
- Dynamic HTML served by a Jakarta Servlet,
- Dynamic HTML served by a Jakarta Server Pages, and
- a simple, static TXT file.
It uses Maven's <packaging>war</packaging>
to create a WAR file, which requires an application server to run.
The web application does not depend on any specific web or application server. The unit tests and simplified deployment for testing via Maven use Jetty.
mvn package
# Use jetty to serve the application
mvn jetty:run
# Go to http://0.0.0.0:8080/ to see the application
- Unit test static TXT
- Unit test JSP