I want to refresh my JSP page once in a particular time.For ex. every 15min my jsp page 1.jsp is refresh.

I want to refresh my JSP page once in a particular time. For ex. every 15min my jsp page 1.jsp is refresh.
Pls gv me a code or any suggestions.
LVL 13
anand_2000vAsked:
Who is Participating?
 
boonlengConnect With a Mentor Commented:
You can use the meta tag to refresh the page, example refresh the page in 60 seconds.

<meta http-equiv="refresh" content="60">
0
 
Tol_cvConnect With a Mentor Commented:
also:
response.addHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires",0);


see
http://forum.java.sun.com/thread.jspa?threadID=374993&messageID=1598264
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.