USE

res.setHeader("Refresh", "2; URL=/servlet/com.edsin.ots.OtsLoginServlet");

when you give this in your servlet this page waits for 2 seconds and
redirects to the particular page.


Regards

Ramesh Kesavanarayanan

Electronic Data Systems
Steeple Reach,
25, Cathedral Road,

  91-44-811 3801 to 15 ext :2186
  91-44-233 0380 (res)
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]



-----Original Message-----
From: Ashok Palaniswamy [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 05, 2001 4:02 AM
To: [EMAIL PROTECTED]
Subject: Page redirect


I have a situation where I need to make the user wait for a particular
period of time (say 15 seconds) after submitting his details (like a user
logon) on one html page... & lateron I wanna  redirect him to a different
page using the sendRedirect().
If any one knows please help me in this.

Ashok.

___________________________________________________________________________
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

___________________________________________________________________________
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