You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gabor Bartha <ga...@mailbox.hu> on 2002/09/27 14:02:03 UTC

reload a page

Hi,

A want a page to be reloaded automatically in determined secounds.

In javascript: window.setTimeout('window.location.reload(false)', 1000 ) ;

is there a solution for this purpose in xsp or xslt?

Gabor



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: reload a page

Posted by "Emmanuil Batsis (Manos)" <mb...@humanmarkup.org>.
Err, this is not a cocoon related question.

Try


<meta http-equiv="REFRESH" content="10;URL=thisPage.html">

or put this in your <head>


<script type="text/javascript">
function init()
{
   window.setTimeout("location.href='thisPage.html'",1000);
}
</script>

and

<body onlload="init()">



Manos
Gabor Bartha wrote:
> Hi,
> 
> A want a page to be reloaded automatically in determined secounds.
> 
> In javascript: window.setTimeout('window.location.reload(false)', 1000 ) ;
> 
> is there a solution for this purpose in xsp or xslt?
> 
> Gabor
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
> 
> 
> 



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>