Reputation: 112
I am doing a project of intrusion detection.In that If a user takes a long time in one jsp page, then the jsp page should automatically redirect to another jsp or html ? How can I do this ? Please help guys ..
Upvotes: 1
Views: 1604
Reputation: 1906
For me seems better than JS
<head>
<META http-equiv="refresh" content="5;URL=http://bla bala/xxx">
</head>
URL can be local as usual
Upvotes: 1
Reputation: 8110
You could add a html meta tag to the jsp page like this:
<meta http-equiv="refresh" content="5; url=http://example.com/">
Upvotes: 3