D
D
DeNissss44442021-05-13 12:00:15
Spring
DeNissss4444, 2021-05-13 12:00:15

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

1 answer(s)
D
Dmitry Roo, 2021-05-13
@xez

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 question

Ask a Question

731 491 924 answers to any question