refresh jsp page


refresh jsp page

refresh jsp page
3 Answer(s)      9 years ago
Posted in : Ajax
View Answers

September 4, 2008 at 1:16 PM

Hi friend,


<script language="javascript">

function refreshpage()




<form action="" method="" onsubmit="refreshpage();">
<input name="submit" type="submit" value="submit">




March 27, 2012 at 9:14 AM

include the following

meta http-equiv="refresh" content="<%=session.getMaxInactiveInterval()%>;url=index.jsp" />

include it in the header section of html

March 27, 2012 at 9:16 AM


this will simply auto refresh the page every 5 seconds


Related Tutorials/Questions & Answers:
refresh jsp page - Ajax
refresh jsp page  Code for refresh a web page in jsp.  Hi friend, function refreshpage() { window.location.reload
page refresh - JSP-Servlet
up window has to close and jsp page has to refresh. how can i refresh  Hi All, I've done a login application using Ajax. I wrote jsp page having sign in option. when i click the sign in,pop up window
Click on Page Refresh - JSP-Servlet
Click on Page Refresh  hi ,i am working on jsp with mysql. i m facing a problem whenever i click on page refresh or f5 button, the value on form....... use the following code in your jsp page but aftr adding this you
How To Page Refresh Using JavaScript In JSP
How To Page Refresh Using JavaScript In JSP...; Step 1: Create a web page(sign.jsp) to show a button to Login user. <%@ page import="java.sql.*" %> <!DOCTYPE HTML PUBLIC "
Part refresh without a page refresh
Part refresh without a page refresh  hello, How do I submit a form or a part of a form without a page refresh?   hii, Ajax can do... page
refresh - JSP-Servlet
JSP project. In home page i like to logged members count dynamically.... Is there any other way to refresh that particular place instead of refreshing whole page... the whole page instead of refreshing the particular page. Logged member's
servelt refresh page
servelt refresh page   write a program in servlet that display the cricket score.the page should automatically refresh on every 5 seconds.the score... should fall down.the page should not refresh after 5 overs is completed
jsp dropdown refresh - JSP-Servlet
jsp dropdown refresh  Sir Thank u for your jsp code... but the probleam during data extraction when i select first drop down its refresh then 2nd drop down it also refresh. so i cannot get the selected data. Please kindly give
Servlet refresh page
Servlet refresh page In this example we will show you how you can refresh your page from setting the refresh attribute from a servlet. response.setHeader... the browser to refresh the page after 10 seconds. In this will you can develop
Page Refresh - Struts
Page Refresh   Hi How Can we control the page does not go to refersh after its forward again from action my form i have one dropdownlist... in same page and fwd the action to same page
jsp drop down without refresh - JSP-Servlet
jsp drop down without refresh  Sir I have tried two depenedent jsp dropdown in jsp page,But the probleam is when i select first drop down its... refresh and what change's is made in jsp of javascript to make proper data
how to refresh my GUI page
how to refresh my GUI page  how to refresh a GUI in java
Page is not getting loaded when I refresh the webpage???
Page is not getting loaded when I refresh the webpage???  **I am... when I refresh the page.* Note: Header section is getting loaded always Could... function in JSP. It will get all details of image section from database. *I am
title and keywords don't refresh in webpage - JSP-Servlet
title and keywords don't refresh in webpage  Hi, I changed the title and keywords on my main jsp page that is the entry point into my web... and keywords. If I change anything else on the jsp page it refreshes
Refresh a Web Page Using In Servlet
.style1 { font-weight: bold; } Refresh a Web Page Using... example we develop an application to Refresh a web Page using Servlet. We...;) and refresh this web page and print the current Date and Time after 10 sec
How to prevent the page refresh while submitting the form??
How to prevent the page refresh while submitting the form??  Hi... to the select of Dropdown1. Im hitting a db for this every time.Hence the page loads... this page loading??? Thanks much
JSP Meta refresh
JSP Meta refresh   ... a META tag in the jsp. The META tag with an HTTP-EQUIV attribute controls... have used "Refresh" value in order to specify a delay in seconds
Show number of refresh done to web page in jsp
Description: In this example there are two files index .jsp and PageCounter.jsp. The index.jsp display the number of time you refresh index.jsp page. Initially the counter in 1. It keep incrementing when you refresh the page. Static
Captcha Refresh - Jquery
Captcha Refresh - Jquery  I'm looking for an example to refresh the Captcha image in Jquery ..every time the page get refresh. Thanks.   $("#refresh").click(function() { $("#captcha").attr("src","captcha.php?r
Table refresh with ajax - Ajax
Table refresh with ajax  I am using jsp/html in my code. Is it compulsory that i have to use a servlet to implement table refresh using ajax? Or jsp also would work? Rajatha
Refresh JFrame
Refresh JFrame  How to refersh a JFrame and its componets
How to refresh Client only once by sending setHeader ("refresh" ,??? )
; How can i send response from JSP that will make my client page to be refreshed ?? I just want to refresh my client page only once....! Not periodically....! Actually i am calling a page that check for flag value in model through JSP
refresh rate in ajax
refresh rate in ajax  my data is in table which is generated dynamically. i want to refresh that perticular table after some time using ajax and with jsp
UIBarButtonItem Refresh
, refresh button using code in iPhone application?? If yes then how?   ... the refresh button... i'm providing you the example of Navigation Refresh UIBarbuttonItem...] initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh target:self action:@selector(refresh
Refresh the form - Struts
Refresh the form  Hi How Can i control the page that doesn't go to refresh when i am doing 1 or more action from same page and forward those action again to same page. how can i control the doesn't go to refresh in that page
jsp page - JSP-Servlet
jsp page  what are elemets and template data in jsp page??  Hi Friend, Template Data is a parameterized content that allows the JSP document to generate a response stream of characters. JSP Elements provides
jsp page
jsp page  <%@page contentType="text/html" pageEncoding="UTF-8"%>...;%@page import="java.sql.Statement"%> <%@page import="java.sql.DriverManager"%> <%@page import="java.sql.Connection"%> <%@page import
jsp page
jsp page  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
Maven Dependency play-auto-refresh >> 0.0.1
You should include the dependency code given in this page to add Maven Dependency of com.jamesward >> play-auto-refresh version0.0.1 in your project
Maven Dependency play-auto-refresh >> 0.0.3
You should include the dependency code given in this page to add Maven Dependency of com.jamesward >> play-auto-refresh version0.0.3 in your project
Maven Dependency play-auto-refresh >> 0.0.4
You should include the dependency code given in this page to add Maven Dependency of com.jamesward >> play-auto-refresh version0.0.4 in your project