Unlike previous development tools like Eclipse and NetBeans, Idea's project is quite workspace with Eclipse, and module is the equivalent of project.
Here's a correspondence between the concept of Eclipse and idea:
Our goal is to create a workspace and then build at least 2 projects under it (2 bar), the workspace Javaworkspace, containing JavaOne and javatwo two items.
First, review the previous article: IntelliJ idea 14.x integrates with Tomcat to create and run a Java Web project (in fact, it is a workspace, a Java Web project);
Second, create a working space javaworkspace
1. Create a workspace javaworkspace with New project, File--and create projects by the way JavaOne
The resulting project structure is:
Second, create the project Javatwo
1, File--New Module--Create a project Javatwo
The resulting project structure is:
Iii. combining Tomcat to run various projects
Reference: IntelliJ idea 14.x integrates with Tomcat to create and run a Java Web project
Iv. Matters of note
The above workspace javaworkspace 2 items JavaOne is not directly related to Javatwo, but just to make a IntelliJ idea that can open multiple projects at the same time.
However, the module's functionality is not just about creating Web projects, but for other functions, it has not been researched yet.