From configuring JDK to installing Ideal, and configuring tomcat server operating environment!

First check whether the jdk is successfully configured, otherwise it will not start normally 

Project SDK: find your jdk installation directory

The groupid and artifactId are collectively referred to as "coordinates" are proposed to ensure the uniqueness of the project

GroupId domain name

ArtifactId project name

Fill in the project address, then click FINISH

When the project comes in, click import Change in the red box

Next choose to add web support for the project

Choose web Application

Click ADD CONFIGURATION

Add tomcat server

 

Select the disk location of tomcat

The address that the browser will use later

Set up the hot deployment of the project (see Baidu for details)

Click the play button to start running

At this point, the project is successfully deployed and you can start your code journey

 

By default, the project accesses the index.jsp file under the web folder

Can be modified in web.xml

operation result

 

 

Guess you like

Origin blog.csdn.net/Shengzheng_Ning/article/details/114991830