Spring - Sample Interview Question (Senior Level)

Which of the following two options would be best practices if you require your controller to issue a redirect to the browser?

  1. Utilize the HttpServletResponse.sendRedirect() call.
  2. Create and return an instance of Spring's RedirectView.
  3. Return a view name that is prefixed with "redirect:"
  4. Call super.redirect() on the Spring BaseController that you extend
Tests in Spring for Seniors

Test Name Difficulty Time (minutes) No. of Questions
Spring Online Test for Seniors Spring Senior 60 30

More Specific Tests in Spring for Seniors

Test Name Difficulty Time (Minutes) No. of Questions
Spring-AOP Online Test for Seniors Spring - AOP Senior 20 10
Spring-Container-Basics Online Test for Seniors Spring - Container Basics Senior 20 10
Spring-Data-Access-and-Transaction Online Test for Seniors Spring - Data Access and Transaction Senior 20 10
Spring-Spring-MVC-and-REST Online Test for Seniors Spring - Spring MVC and REST Senior 20 10
Spring-Advanced-Topic Online Test for Seniors Spring - Advanced Topic Senior 20 10