• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 998
  • Last Modified:

refresh jsp page once

Is there a way I can cause a jsp page to refresh only once?

I have tried :
<meta http-equiv="pragma" content="no-cache">
but it creates a loop.
Any feedback greatly appreciated.
0
kgpretty
Asked:
kgpretty
1 Solution
 
rrzCommented:
Javascript has  location.reload()     When do you want to refresh the page ?
0
 
suprapto45Commented:
yes rrz@871311 is right.

However, please be careful as it may cause an infinite loop :)

I used this one and it works.
http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_21169306.html

David
0
 
kgprettyAuthor Commented:
Thanx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now