![]() |
1
1
默认的视图解析器将在名为resources、static和public的文件夹中查找。 所以把你的索引。html在/resources/resources/index中。html或/resources/static/index。html或/resources/public/index。html 您还需要返回文件和扩展名的完整路径
这会使你的html页面公开(例如。 http://localhost:8080/index.html 如果这不是你想要的,那么你需要看看如何定义一个视图解析器。 |
![]() |
2
1
正确的行为之一是在配置中注册视图,并将其置于
|
![]() |
Shubham P · Spring Security角色工作不正常 1 年前 |