This is my first try to write a web app on intellij IDEA and port it to the Tomcat.