Redirecting to the internal URL is possible using the redirect () method in the controller.
public static Result index() { return redirect(routes.Application.tasks()); }
However, I want to redirect the external URL to the controller. redirect (String) only accepts internal URLs as a parameter.
What I need is the equivalent of a standard Java Java servlet, for example,
request.sendRedirect(String url)
manish_s
source share