How can i read the session-timeout
from the web.xml file?
Tried
getServletContext().getAttribute("session-timeout").toString();
but gives me NullPointerException
.
Also tried
getServletConfig().getInitParameter("session-timeout");
But gives me null because obviously this is not an init-param