| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
A minimal Java web application intended for junior developers learning the basics of Java web apps, servlets, and JSPs. The app runs an embedded Tomcat server and serves static resources from src/main/webapp.
Build the project and produce a WAR file:
mvn clean packageThis writes the WAR to war-file/.
First compile the project, then run the main class via Maven:
mvn clean compile exec:execBy default the server starts on port 8080. Open:
http://localhost:8080
You can configure the server using system properties or environment variables:
Example (using environment variables):
SERVER_PORT=9090 mvn clean compile exec:exec| Back | FazBrowse Home | New Git URL |