Table of contents
2.1 Determine the version of the idea
2.2 Make sure the web folder has a small blue icon
1.Problem description
I created a web project in idea, but I couldn't find the jsp option. It felt like I was using a fake idea.
2.Solution process
2.1 Determine the version of the idea
Make sure the version of the idea is the Ultimate Edition. Note that it cannot be the Community Edition.
If you can see the Ultimate Edition in the picture below, it proves that it is the flagship version.
2.2 Make sure the web folder has a small blue icon
Make sure that the web folder has a small blue icon. As shown below, the icon on the web folder is gray, so idea does not know to create a web project. You need to do some configuration on the idea. Please refer to the following steps for specific configuration.
Step 1: Click ctrl+alt+shift+s to enter Project Settings, then select modules--web
Step 2: Select the web path corresponding to the project in path 3
Select the + in this position, a box will pop up, and you can configure it in the box
Step 3: For the path in 4, select the web.xml path under the web path of the corresponding project
Select the + in this position, a box will pop up, and you can configure it in the box
Step 4: Click OK
3. Effect
I record the problems I encountered at work and the process of solving them, and I hope it can help everyone!