I have a dialog window in my JSP page and its implemented using jQuery.
If my server is timed-out and I click on a button to open the dialog window, my login-page is shown inside the dialog window.
I want to actually close the dialog window, and redirect to the login page.
How can I achieve this?
Assuming what you are asking is that when you click a link a jquery dialog window opens, or it will redirect you to the login page:
You could have the login link button like so:
then in the javascript:
if the server is not timed-out, it will open the dialog, else it will go to the url specified by href in the
<a>linkhttp://jqueryui.com/demos/dialog/