#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Posts
    8
    Rep Power
    0

    Repost : redirect after a time interval


    jsp redirect after some time

    I am using the jsp tag

    <%response.sendRedirect("http://localhost:8080/register_success.jsp"); %>

    to redirect to another page, but i want this page to appear after say like 3 seconds, so user gets a change to see the contents of current pagea s well.
    How can i accomplish this ?

    thanks
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Location
    The Netherlands
    Posts
    6
    Rep Power
    0
    You can use Thread for this.

    Use Thread.sleep(3000) to wait for 3 seconds.

IMN logo majestic logo threadwatch logo seochat tools logo