idea2021 version new web project (detailed tutorial)

Open the file in the upper right corner of the idea - create a new project - select the java module

 Next step - Naming - Next step

 It is blank after opening

 to this point. Right-click and select untitled to open Add Framework Support

Select the web application 

Be sure to check Create web.xml and click OK

next

Find Add Configuration in the upper right corner - click

 

Find the + sign in the upper right corner

Find Tomcat - choose local

Configure the apache-tomcat file that you configured yourself (go to the official download for the version).

Click again to modify, and an index.jsp file will be automatically generated, click to run the browser to display the text and it will be ok

A complete web project is created.

Newbie posting, please take care

Guess you like

Origin blog.csdn.net/weixin_69218754/article/details/127552454