Idea | identify non self built webapp folder

Background:

Today, I built a webapp folder, and found that idea could not identify it as the resource folder of web application

Solution

Open the project structure configuration, as shown in the following figure