Hi Friends,

 

How can I forward to a login page on session Timeout?  Will struts
create a Default session?

 

I am checking for a value of a locale variable set to default session on
my JSP page. After   

 

   if(request.getSession(false).getAttribute("locale") == null){

 

//redirect to another page

}

 

But this is some how not working and after a session time out when I am
trying to access the locale variable its giving a null pointer
exception.

 

Regards

Vishnu Nv

Reply via email to