From: http://blog.csdn.net/little__zm/article/details/19570535
Not familiar with the IntelliJ, find a lot of articles, only this is the most smooth. All the others have a variety of school problems, first record this good. Although the article uses a Mac, I actually do it on Windows, and it's the same.
The previous article said how to configure the IntelliJ configuration on Mac Tomcat7, struggled this afternoon, and finally figuring out how to create a new Javaweb project and publish it to Tomcat to run and write to deepen the impression
It's very wordy, a picture to solve the problem.
The first step is to create a new project:
Click Finish to build the project. Getting started with the configuration phase
Follow the picture.
Continue to follow the picture, change the output directory, you can add Lib to dependencies, adding jar package is convenient
The Web configuration is complete, then continue to click OK.
Here's how to use Tomcat to publish a
Select Add a local server
Click OK, then look at the picture to continue
After clicking Run:
That's it.
IntelliJ 13 new Javaweb project and booting with Tomcat 7