What is equiv of RequestDispatcher.forward in Rails

what is equiv of java servlet’s RequestDispatcher.forward in Rails?

Regards,

vj

what is equiv of java servlet’s RequestDispatcher.forward in Rails?

Within the same controller, you can just call that method. But in
general, it’s considered poor style to use internal redirects. It makes
the URLs ambivalent, makes it harder to do stuff like page caching, and
it’s usually entirely unnecessary. Instead, just do redirect_to and be
happy.

David Heinemeier H.