title: How to redirect from a controller to another controller on Spring
body: <p>Trying to do something that should be really easy...
  Im using Spring MVC 3 and I want to redirect a call to a controller from inside another controller... ex:</p>
  
  <pre><code>@Controller
  @SessionAttributes
  public class UserFormController {
  @Autowired
  private UserService userService;
  @RequestMapping(value = "/method1", method = RequestMethod.GET)
  public ModelAndView redirectFormPage() {
  //redirect to controller2 here, 
  //pointing to a method inside it, without going to any url first
  }
  </code></pre>
  
  <p>Tried to do that with modelandview but it seems to me that all the solutions have to go through an url first and just then i can redirect to the controller.</p>
  
  <p>thanks for all the help!</p>
  
  <p>=============== more info ===========
  The flow is like that: methodA on controller1 is called... do some stuff... and then wants to redirect the user to a listPage... this page has a list of objects, which a methodB on controller2 is able to load and send it to the this listPage. What im trying to achieve is : always that someone needs to get this page, i will call this method onn this controller2 and load it.</p>