Reputation: 489
I have been searching a lot for the answer but can't seem to find one.
I have a message to display to a user on a JSP page and want to redirect it to a servlet using the following URL : /BenchmarkWeb/Servlet?action=initiate
Can you guys help on what statement or method I would need to use to redirect this say, 10 seconds after it has been loaded ?
Upvotes: 0
Views: 3552
Reputation: 8771
You can simply do it by using meta redirect :
<META http-equiv="refresh" content="10;URL=http://yournewurl">
Upvotes: 1