(Transfer) [IntelliJ IDEA] Use idea to solve the new option of creating a new jsp file but cannot find the jsp file template

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.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326105987&siteId=291194637