jsf - Reload page from backBean -


How can I reload the JSF page after the session is over? I have a filter, when the session is over, it executes this code:

  res.sendRedirect ("/ index.xhtml");   

But when I use a component when Ajax and session ends, nothing happens, so think of always reloading after this line. , But it does not know how to do

I think the session has to be reloaded when the session expires. Anyone know that it is possible to do this, or any other better idea?

See Balus's answers here: especially the following section: Exxide Exceptions to See < / Strong>

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -