I am creating a Spring Boot application, using Spring Initializr, But the folder structure is bit different, there is no WEB-INF
folder, so where I will put the JSP files, shall I create the WEB-INF
folder manually?
We need to crate WEB-INF folder manually in spring boot application. Follow below steps to create WEB-INF folder
Select main folder as highlighted below.
Below should be the folder structure after doing above steps.
Usually the web files will go into the resources folder with spring boot. https://spring.io/guides/gs/serving-web-content/
Dumping the jsp files in src/main/webapp
folder worked for me, both with or without WEB-INF. I followed the exact project structure mentioned in
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With