I have a requirement to alert the user when the session is timed out, at the login page.
Is there any method by which I can determine this from login.jsp.
Or should it be implemented using filters to forward the user to a different page?
I solved this with a workaround.
I created a Resource URL that returns request.getPortletSession().isNew().
Then I requested this url from the login page by AJAX.
Not a fool proof idea. But I guess it does the job.