IntelliJ Create a Web project, start with Tomcat
http://blog.csdn.net/little__zm/article/details/19570535
IntelliJ Importing MyEclipse Web projects
http://zyjustin9.iteye.com/blog/2172712
Intellij idea to import Eclipse or MyEclipse Web projects
1. Checkout the remote project through the TORTOISESVN client and save it to the hard disk
Select previously checked out items, Import Module, 2.File
3. Enter the "Import module" window, select "Import module from external model", click on "Eclipse" to enter the project name, click Next
4. Keep the selection and content of "projects directory" and "Keep Project and Module files in" Intact, click Next
4. Tick the item and click Finish
5. Delete unused eclipse or myeclipe related files in the pop-up window, such as "Myeclipse_xfire_data_home", Apply and OK
5. Open "Project Structure" (Ctrl + Shift + Alt + S), "Modules", click on imported Items---delete invalid content with red error
6. Click "+", "Jars or directories", select all the jar packages under the Lib directory of the project.
( Note: If there are Servlet-api.jar and Jsp-api.jaR and other tomcat jar packages are not selected, to the Tomcat lib directory selection)
7. Click "Facets", "+", "Web", select the imported project----OK, automatically jump back to the "Modules" panel
8. In the "Modules" panel, modify "Deployment descriptors", delete the contents, click "+", select the Import Project's Web. XML, OK
9. Modify "Web Resource directories", delete the contents, click "+", select the imported project's Webroot directory, OK
10. Click "Fix", create artifacts, which appears in the lower right corner of the "Modules" panel, to automatically jump to the artifacts panel and create the artifact of the imported project
11. Modify the Import project's name, and modify the "Output directory" for Tomcat's WebApp directory, click the "fix" error prompt in the lower-right corner of the artifact, fix the error, Apply, OK
12. Deploy to Tomcat, run Tomcat and view running results in the browser
Intellij idea Tomcat related