refresh html page content every minute using jboss Seam

193 Views Asked by At

I'm developing a system using the Jboss Seam environment. I have reached a part where i need to create a page that automatically refreshes it's content every minute or so. The page is supposed to be displayed in a tv in our workroom and displays some data from a database that is populated by the other staff in our company, and we need to be updated about these new additions in real time.

I am new to developing in Jboss Seam and my supervisor doesn't know how to do this as well, so i'm resorting to S.O

any help is appreciated, thanks in advance!

1

There are 1 best solutions below

2
On

A very easy "hack" is to add this tag to your html page:

<head>
  <meta http-equiv="refresh" content="60">
</head> 

Your browser will reload the page every minute