Reputation: 79
I started to learn JSP and Tomcat Container, and I know how the directories must be stored, but I'm confused by several things:
Upvotes: 1
Views: 785
Reputation: 13866
The folder .idea
and the file Tomcat-web-app.iml
are necessary for your IDE, configuration is stored there. If you delete them the project will fall apart in your IDE. You can delete the src
folder as long as you're not using it.
pom.xml
should be put on the root level of your project, so right under Tomcat-web-app/
. Afterwards you can initialize it as a Maven project by adding framework support for Maven - right click on your project (Tomcat-web-app
) and you should see it there. Refer to this guide if you're having issues. It is much more straight forward however to just create a Maven project from scratch and then copy in your web files.
Upvotes: 2