IMPORTANT
-
Once you generate the JAR file you have to make sure that there is the "web-content" directory in the same path with it otherwise it won't work as it won't be able to serve anything
-
The "tmp" directory is used by the server to compile the JSPs to servlet ".java" files then to ".class" files for the first time they are requested.
-
When developing either you change the directory given from the "getRootPath()" method to the root path of the project "Embedded-Tomcat-Server/" or you put the "web-content" folder in the "/bin" directory otherwise the scanner won't see it.