Code i have written as below.

```
Controller1 {
   @Autowired
   Controller2 controller2
   //Caller method
   void method1() {
      controller2.furnction1(model,redirectattributes);
   }
}

Controller2 {

   public void function1(Model model, RedirectAttributes atr){

   }
}

```

Question is:
How to intialize **RedirectAttributes** (*redirectattributes*)in my new Controller(*Controller1*).
My Controller1 is not a form submit, so that i couldn't get **RedirectAttributes** by default.

How to call the funcation1 in controller2.