In my project, I have a requirement to handle user POST request and fill the results into an iframe
(called result_frame
).
When POST request data is valid, I return a view to fill the
result_frame
asModelAndView(myviewName)
When POST request data is invalid, I want to fill the
result_frame
with a blank page.
Is there any simple way to return a blank page without creating a separate View
for it? (e.g. ModelAndView("_blank")
)