Originally Posted by xWin
After some trial and error, and further experimentation, I believe the project creation method which produces a web app project that is closest to the sample code project layout is:
1. Create Java Enterprise Web Application
2. Add Maven framework support
xWin, that is how I normally proceed with creating new web application projects in IntelliJ. To be completely honest, I must admit that I change the default IntelliJ/Maven source and web folder names/structure, because I detest the defaults.