Create a web project using IDEA

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
Here Insert Picture Description
selected second java enterprise check the following labels -> next
Here Insert Picture Description
name to your project name -> finish
Here Insert Picture Description
two new directories lib and classes, the name can not be changed
Here Insert Picture Description
Here Insert Picture Description

Next, set
Here Insert Picture Description
Here Insert Picture Description
beside ok then point Dependencies, click on the "+" sign, select 1 JARs or directories,

Here Insert Picture Description
Select the file you just created lib folder, OK
Here Insert Picture Description
select the jar Directory.
Here Insert Picture Description
Back to the main screen, click on Run, choose Edit Configurations
Here Insert Picture Description
Here Insert Picture Description
Click the triangle top right corner of
Here Insert Picture Descriptionthis, create and set javaweb project completed, then you can write your own servlet and other documents, create your own web project of

Published 19 original articles · won praise 13 · views 503

Guess you like

Origin blog.csdn.net/qq_45309297/article/details/105029341