Programming Monkey
Programming Monkey

Reputation: 87

Not able to create jsp file by template on Intellij Idea's Springboot Project

So I created a Springboot project using IntelliJ's built-in Spring Initializr.

Everything works fine except I don't see .jsp file by default while using new file. For now, I have to create a .html file and name it with the .jsp suffix.

Is there's any way to have a default option for creating .jsp file?

Thank you for your time!

enter image description here

My Intellij info:

IntelliJ IDEA 2020.1.1 (Ultimate Edition)
Build #IU-201.7223.91, built on April 29, 2020
Runtime version: 11.0.6+8-b765.40 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.4
GC: ParNew, ConcurrentMarkSweep
Memory: 990M
Cores: 4

Upvotes: 2

Views: 2831

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402443

IDE will show JSP files when you invoke the New menu for the directories that are under Web Resource roots. You may want to configure the Web facet | Web Resource Directories.

Upvotes: 4

Related Questions