Answer the question
In order to leave comments, you need to log in
Why in Spring start page "/" doesn't display everything as in index.html?
Guys, I started to study Spring relatively recently and in my educational project for some reason when the start page is loaded "/" does not display everything from index.html , but if I add /index to the line and the index page opens for me, then everything is correct there . Can someone explain to me why this is happening? I thought that when I load the start page "/" it is my index.html.
Answer the question
In order to leave comments, you need to log in
Probably because the controller is written for /index and not for /
I have a prediction ball for maintenance today, I can't say for sure without code...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question