I have a controller that sets some flash attributes and causes a redirect. I also have an interceptor in front of the controller that will intercept the redirected URL and force another redirect. At this point, my Flash attributes are removed, as spring believes the redirect target is complete.
I would like to keep these attributes so that my second controller can access them after the second redirect.
Any possible way to achieve this?
Please, not that I cannot change the first controller that initially fills them, and I need these attributes to access the second redirection controller.
bahaa source share