Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 380
  • Last Modified:

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.
0
anand_2000v
Asked:
anand_2000v
2 Solutions
 
boonlengCommented:
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_cvCommented:
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

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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