Before this software has been used eclipse, always heard IDEA easier, of course, not to say that eclipse the software is not good, both have their advantages, and now replace the IDEA software, use it, complete the OK , return to the theme, use IDEA to create a web project steps, the first time, like a familiar
file -> new -> project
selected second java enterprise check the following labels -> next
name to your project name -> finish
two new directories lib and classes, the name can not be changed
Next, set
beside ok then point Dependencies, click on the "+" sign, select 1 JARs or directories,
Select the file you just created lib folder, OK
select the jar Directory.
Back to the main screen, click on Run, choose Edit Configurations
Click the triangle top right corner of
this, create and set javaweb project completed, then you can write your own servlet and other documents, create your own web project of