Article Directory
Problem scenario
The IDEA project adds JSP files, and the option to create a new JSP template cannot be found. This blog post is mainly aimed at solving problems in this situation.
Problem environment
software | version |
---|---|
IDEA | 2020.2 |
problem causes
This reason is mainly because the directory attribute of the new JSP does not belong to the web project type. So you have to import web modules or specify the path of web resources.
solution
In the project properties configuration, click on the Web module, set the web resource directory
result
After setting, click OK to return to the project page. Right-click, you can already add JSP pages normally. As shown below:
to sum up
Familiar with the use of software will improve development efficiency and get twice the result with half the effort.
Ask for praise
If my article is helpful to everyone, you can click like or favorite at the bottom of the article;
if there is a good discussion, you can leave a message;
if you want to continue to view my future articles, you can click Follow
You can scan the following QR code to follow me 'S public account: Fengye Zhixuege, check out my latest share!