Create a dynamic web project by the idea

Step one: Click the top left corner of the File -> New -> Project

 

 Step two:

  1, after the Java Enterprise found,

  2, to find their own Tomcat in Application Sever, the

       3, check the Web Application, and check the generated web.xml

  4. Click next

 

 Step 3: Create the project, you need to fill in their name and project engineering path, respectively, and click Finish

 

 Step 4: Click Finish, following the completion of the project is to build

 

 Step 5: Create classes and lib folder

 After the completion of the construction project as follows:

 

 Step Six: Adjust file structure attributes

Project Structure found in File, click Project Structure

 

 Click Modules, select Paths, select the Use module compile output path, the path into classes file you just created folder, click OK

 

 Dependencies ok and then next point, click on the "+" sign, select 1 JARs or directories 

 

 Select the file you just created lib folder, OK

 

 Select the jar Directory

 

 Step Seven: Run Project

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/saber-servlet/p/11573953.html