Hi guys,
I'm using Tiles with Spring MVC. I have a question regarding using the "redirect:" option:
I have a MultiActionController with multiple related "action" methods that return ModelAndView. For example:
So, my question is: what happens if I want to redirect to a particular Tiles view name? I tried:Code:ModelAndView action1(request, response) { do stuff... return ModelAndView("tilesName"); }
... but that doesn't seem to be the correct place to put it.Code:return ModelAndView("redirect:tilesName");
Has anyone else done this?
Cheers,
Matt.


Reply With Quote