Try this, it should work if you have configured your view resolver properly
return "redirect:/index.html";
More Related Contents:
- Add context path to Spring Boot application
- How does the Spring @ResponseBody annotation work?
- Http Post request with content type application/x-www-form-urlencoded not working in Spring
- Filter order in spring-boot
- No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor
- Spring Web MVC – validate individual request params
- 404 error redirect in Spring with Java config
- JSON parameter in spring MVC controller
- Why DispatcherServlet creates another application context?
- How to use multiple @RequestMapping annotations in spring?
- Spring RedirectAttributes: addAttribute() vs addFlashAttribute()
- Return only string message from Spring MVC 3 Controller
- How to include js and CSS in JSP with spring MVC
- How to implement pagination in Spring MVC 3 [closed]
- Parsing JSON in Spring MVC using Jackson JSON
- Multipart File upload Spring Boot
- How to get the current logged in user object from spring security?
- Why does Spring MVC need at least two contexts?
- Spring 3.0 MVC binding Enums Case Sensitive
- Expose all IDs when using Spring Data Rest
- How to return JSON data from spring Controller using @ResponseBody
- Spring Boot Actuator without Spring Boot
- Autowired gives Null value in Custom Constraint validator
- Can you completely disable CORS support in Spring?
- Why SpringMVC Request method ‘GET’ not supported?
- Return a stream with Spring MVC’s ResponseEntity
- What are annotations and how do they actually work for frameworks like Spring?
- Spring-MVC 406 Not Acceptable instead of JSON Response
- java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet error
- Spring MVC: How to modify json response sent from controller