Based on certain condition in my controller, I want to direct the user to an error page, which I am doing now.
when error page is displayed to user, I want the user to be then redirected to a specific retry page.
Is this the right way to do it using:
<meta http-equiv="refresh" content="3; url=http://www.somewhere.com/" />
or should i use javascript to do the redirect based on timer?
To get the right url I could put the url in flash scope and read them and place in above string
Why are you gonna make a redirect from the HTML level, while you can do it without any problems in your controller ? Play 2, Java: