Reprinted from: https://www.cnblogs.com/sxdcgaq8080/p/7676294.html
Use idea to solve the problem of creating a new jsp file but can't find the new option of the jsp file template. Does it take a lot of time to create a new jsp file every time?
Solution:
Just to let idea know that you need to create jsp files in this directory
In the upper left corner, click the project Structure item in the file, in the Modules tab, find this project, and add web under this project.
Modify the path of the specified web here:
Then apply OK.
Then you will find that when creating, you can directly create JSP templates
===================================================== =========Note ======================================= ====================
After finishing, delete the new web directory under the project.