Satish --

>However, in case of a mis-match I want to display a web page showing
>the error message and after a few seconds reload the original login-
>page. How do I do the last part??

Your servlet on receiving error, can generate a HTML page with the error
information. You can make use of client-side pull within that generated
page, to "refresh" the page to the original login-page after said amount
of time.

Somthing like this :
<META http-equiv="REFRESH" content="10; <Login page URL> ">

That will display the error page for 10 secs and take the user to the
login page.

If you want user to acknowledge the error, you might as well put a
button on the error page and then take the user back to login page.

Hope it helps.

Shashank

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
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