Welcome Andrey,
you can do this with the following HTML command :
    <meta http-equiv="refresh" content="5; URL=SecondPage.html">

You can include this in your servlet with the following code :
    ServletOutputStream out = res.getOutputStream();
    out.println("<meta http-equiv=\"refresh\" content=\"5;
URL=SecondPage.html\">");

Eidelman Andrey wrote:

> I'm novice ,so forgive me stupid question
> is it possible to send user first page,
> then wait 5 seconds(for example), then send second page?
> I mean  how to "say" servlet that I finish to send first page?

> _____________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html



--
Gilles Broche
06 84 28 33 48

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to