File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes jsp refresh Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jsp refresh" Watch "jsp refresh" New topic

jsp refresh

bhaveshs shah

Joined: Dec 21, 2006
Posts: 10
Kindly help me to refresh jsp page automatically after one minute, as i tried with javascript but would not sucess
Kindly help for this.

Sir i wanted same page to reload i dont want to redirect to next page

Thanking you

[ January 22, 2007: Message edited by: bhaveshs shah ]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Refreshing a page is something that is done on the client side so this question will do better in the HTML/Javascript forum.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

have a look this link regarding your query.

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Talha-bin -Shakir
Ranch Hand

Joined: Jan 26, 2006
Posts: 32
Specify the following below the <HEAD> in the HTML response.

<meta HTTP-EQUIV="REFRESH" CONTENT="10" URL= "http://www.pagename.jsp">

The HTML Response page will automatically redirect.
I agree. Here's the link:
subject: jsp refresh
It's not a secret anymore!