There was a question about Spring . There is a controller class, which, according to the specified url, should give jsp. Here is the code
@ResponseBody public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) { return new ModelAndView("index1.jsp"); } However, an error occurs
timestamp = Wed May 04 10:00:14 MSK 2016, status = 500, error = Internal Server Error, exception = javax.servlet.ServletException, message = Circular view path [index1.jsp]: [/exercise/index1.jsp] again. Check your ViewResolver setup!
Understood that most likely you need to prescribe the property suffix=".jsp" , but there is nothing to change. Can you tell me "where is the dog buried"? If you register without the jsp extension, it does not work either. Thanks in advance