Redirect to action from action

Hello, I have a mail form on a view. When the form is submitted and Action is called. On this action, after all the code has run, I redirect to a Feedback action as. In this section, you will get familiar with struts 2 Redirect action and learn to use it in the struts 2 application. Struts 2 Redirect Action I have an action I call from an anchor thusly, Site/Controller/Action/ID where ID is an int. Later on I need to redirect to this same Action from a Controller. Is. struts2 redirect action I just realized that the proposed solution won't do what you want it to do either. Action Form allows you to redirect the user to a specified location after the user submits the form. This action requires that you specify a redirect location. I want to redirect to an action in other Controller but it doesn't work here's my code in ProductManagerController: [HttpPost] public ActionResult RedirectToImages. This result uses the ActionMapper provided by the ActionMapperFactory to redirect the browser to a URL that invokes the specified action and (optional) namespace. only the ApplicationController in a Rails application inherits from ActionController::Base. you have in ActionController:. redirect_to action. Action: Redirect Synopsis: Redirect (transfer) a call Privilege: call,all Description: Redirect (transfer) a call. Variables: (Names marked with * are required) Struts 2 Redirect Action - Learn what is Basic Model View and Controller Architecture along with Struts 2 in simple and easy steps starting from Environment Setup.


redirect to action from action