You can do that with the refresh header:
http://en.wikipedia.org/wiki/URL_redirection#Refresh_Meta_tag_and_HTTP_refresh_header Putting this in the JSP should do it:
<meta http-equiv="refresh" content="2;url=http://mysite/mylogin.jsp">
The number before the semicolon specifies the delay(in seconds) before it goes to the url after the semicolon.
This is commonly used with download sites. the ones that say "your download should start in a few seconds. If it doesn't then click here..."
However, a more user friendly approach might be to go straight back to the login page, display an error message there, and give the user the chance to try again immediately. Without having to load another page.
Cheers,
evnafets