In JSP, Is there a way to display an alert to the user, before session time out.
v ray
Ranch Hand
Joined: Mar 15, 2007
Posts: 223
posted
0
yeah, ofcourse, just check for the place in your jsp code where you are calling the "LogoutAction.do" class or something similar. In that place, you can call a window.alert() saying "Session is about to be set to null".
Another thing you can do is, in your LogoutAction class, check for the request.getSession() value, and you can do: